Logo
Openapi.it Public API Documentation

{{baseUrl}}/token

GET {{baseUrl}}/token?scope=<string>

Method that returns all the tokens with their scopes still active for your account

 

Body PARAM

Key Datatype Required Description 
scope
string name of the scope for which to filter the tokens



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "scopes": [ "POST:videoid.altravia.com/videoId" ], "expire": 1603268553, "token": "5daebc49568fa1398c55186d" }, { "scopes": [ "POST:videoid.altravia.com/request" ], "expire": 1604049864, "token": "5dbaa848568fa113ad2e7fcf" }, { "scopes": [ "GET:videoid.altravia.com/request" ], "expire": 1604050325, "token": "5dbaaa15568fa113ad2e7fd1" } ], "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/token?scope=<string>?scope=<string>' -H 'Accept: application/json'

ENDPOINTS