Skip to content

Get a download URL for a content video

Request

Returns a temporary link to a content video.

Security
oauth2_as_a_user(Required scopes: content.videos.download) or oauth2_as_a_server(Required scopes: content.videos.download)
Path
video_idintegerrequired

ID of the video

Query
lifespaninteger, (int32)

Number of seconds the link should remain valid from the time it is generated

curl -i -X GET \
  'https://partner.socialchorus.com/v2/videos/{video_id}/download?lifespan=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
dataobjectrequired
Response
{ "data": { "video_id": 628, "download_url": "https://cdn.example.com/acme/acmetimes/video/cab13", "width": 720, "height": 480 } }