Expiring Access Tokens
Create Expiring Access Token
Changed on🚫 Alert
This API is still under development and can change at any time.
This endpoint is for creating expiring access tokens which can be used for some iframe embeds and, when granted the all:delegate_to_contact_permissions scope, for REST API requests authorized by the token's authorizations.
Requires api token with one of the following permissions
Read, update & delete anything
Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.
post/expiring_token
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/expiring_token
- AuthHTTP bearer
Headers
X-Wistia-API-Versionstring required
Request body
Example request
{
"expiring_access_token": {
"scopes": [
"graphql:all"
],
"authorizations": [
{
"permissions": [
"show"
]
}
]
}
}Response
Successful response
Changes
- info
endpoint added
- info