Skip to main content

Request a user token

POST 

https://partner-content-api.epidemicsound.com/v0/token

Request a User Token. This endpoint requires a Partner Token for authentication.

Request

Body

Token request

    userId stringrequired

    End user id. UUID, numeric or matching ^[a-zA-Z0-9_-]+$

    Example: afd1a05c-36c3-4507-a768-a4ce4ffc2a95

Responses

User access token

Schema

    accessToken stringrequired

Authorization: http

name: PartnerAuthtype: httpdescription: Partner authentication is handled with short lived partner access tokens.
Use your api credentials to request these tokens.
The access token is of JWT format and should be passed in a header with your API requests:

> **Example Header:** `Authorization: Bearer your-partner-token`scheme: bearer
curl -L 'https://partner-content-api.epidemicsound.com/v0/token' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"userId": "afd1a05c-36c3-4507-a768-a4ce4ffc2a95"
}'
Request Collapse all
Base URL
https://partner-content-api.epidemicsound.com
Auth
Body
{
  "userId": "afd1a05c-36c3-4507-a768-a4ce4ffc2a95"
}
ResponseClear

Click the Send API Request button above and see the response here!