Authorizations
The app API key from an app from the /dashboard/developer page
Body
- CreateAccessTokenInputWithCompanyId
- CreateAccessTokenInputWithUserId
Parameters for CreateAccessToken Autogenerated input type of CreateAccessToken
The ID of the Company to generate the token for. The API key must have permission to access this Company, such as the being the company the API key belongs to or a sub-merchant of it
"biz_xxxxxxxxxxxxxx"
The expiration timestamp for the access token. If not provided, a default expiration time of 1 hour will be used. The expiration can be set to a maximum of 3 hours from the current time.
"2023-12-01T05:00:00.401Z"
Array of desired scoped actions for the access token. If sent as an empty array or not provided, all permissions from the API key making the request will be available on the token. If sending an explicit list, they must be a subset of the API keys's existing permissions. Otherwise, an error will be raised.
Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.

