Skip to main content
POST
/
media
/
{id}
/
download-token
{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
  "url": "https://coreapi.io/media/1/download/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Media identifier

Response

Media resource created

token
string

The token to download the media file. This token is valid for 1 minute.

Example:

"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"

url
string

The url to download the media file.

Example:

"https://coreapi.io/media/1/download/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"