Users/Api Token
Returns generated api tokens of all the users of the organization. Requires access_token as a Bearer {{token}} in the Authorization header with read scope.
The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
GET /v3/refresh-token HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "text",
"organization_id": "text",
"user_id": "text",
"token": "text",
"last_refresh": "text",
"rate_limit": 1,
"deleted": true
}
]
}Generates refresh token for a user of the organization. Returns the refresh token object in response. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.
The request has succeeded and a new resource has been created as a result.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/refresh-token HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"user_id": "text"
}{
"data": {
"id": "text",
"organization_id": "text",
"user_id": "text",
"token": "text",
"last_refresh": "text",
"rate_limit": 1,
"deleted": true
}
}Removes refresh token of a user from organization. Upon success the refresh token of a user will be removed from the organization. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.
(Required) refresh token id
There is no content to send for this request, but the headers may be useful.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
DELETE /v3/refresh-token/{refreshTokenID} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}Last updated