curl --request POST \
--url https://api.sakari.io/v1/tools/sharefile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/octet-stream'
{
"success": true,
"data": {
"link": "<string>",
"expires": "2023-11-07T05:31:56Z"
}
}
curl --request POST \
--url https://api.sakari.io/v1/tools/sharefile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/octet-stream'
{
"success": true,
"data": {
"link": "<string>",
"expires": "2023-11-07T05:31:56Z"
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
The body is of type file
.
successful operation
The response is of type object
.