Create Expiring Access Token
create_expiring_access_tokenGenerate time-limited Wistia access tokens for iframe embeds or REST API requests, scoped by permissions and authorizations.
Instructions
š« 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 anythingTokens 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.
Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific user-requested write. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| secret_result_file | Yes | New private local result file, saved with exclusive creation and mode 0600. Parent must be owner-only on POSIX. No credentials are returned to the AI client. | |
| expiring_access_token | No |