Skip to main content

Config

REST API config

Read more about Vastly security Implementation here

Request Headers

Use the following headers inorder to consume the API endpoints,

Origin: <CLIENT_APP_URL>
client_id: <API_CLIENT_ID>
Authorization: <BEARER_TOKEN>
Note

<BEARER_TOKEN> is the user access token provided during login


Example

Origin: http://localhost:3000
client_id: pSpisBrYn4yIP1vGILcdZ
Authorization: Bearer eyJhbGciOiJIUzIyJpZCI6IjYyOWFkNzQ4NzgxMDNkNGU0YTc0ZTllNiIsImRldml