Personal Access Tokens (PATs)
Create Personal Access Token
Creates a new Personal Access Token (PAT) for the current user. The full secret is only returned once in this response and will never be shown again. Both human users and agent users may call this endpoint; PATs are always scoped to the calling user.
post/pats
Request
- Base URL: https://api.carbonvoice.app
- URL: https://api.carbonvoice.app/pats
- Auth: one of:
- API key in header pxtoken
- OAuth 2 (implicit, authorization URL https://api.carbonvoice.app/oauth/authorize)
Request body
Example request
{
"scopes": [
"cv:read",
"cv:write"
],
"expires_in_seconds": 2592000
}Response
Example response
{
"display_token": "cv_pat_91x23...x1201"
}Changes
No recorded changes to this operation across all 1 revision of this API.