cURL
curl --request POST \ --url https://api.example.com/api/v1/files/{file_uuid}/public-token \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "bucket_uuid": "<string>", "expires_at": "<string>", "file_uuid": "<string>" } '
{ "bucket_uuid": "<string>", "expires_at": "<string>", "file_uuid": "<string>", "token": "<string>", "url": "<string>" }
Creates a temporary public access token for sharing a file without authentication
Type "Bearer" followed by a space and JWT token.
File UUID
Token generation request
OK