cURL
curl --request POST \ --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/files/{id}/share \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expiresIn": 123 }'
{ "url": "<string>", "expiresAt": "<string>", "expiresIn": 123 }
Generate a temporary file share url
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace id
File id
Success Response
The response is of type object.
object
Was this page helpful?