Create Personal Access Token
Create a new Personal Access Token for the caller.
Authentication
✅ Organization User (CustomerEmployee)✅ Delegated User (
EndUser)❌ Personal Access Token not allowed
❌ Service Account
Required Permissions
Auth:Pats:Create: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Body
Human-readable name of the Personal Access Token.
1^-----BEGIN (RSA )?PUBLIC KEY-----[A-Za-z0-9+/=\n\r\\]+-----END (RSA )?PUBLIC KEY-----\s?$ID of the permission (also referred to as "role" in the dashboard).
1 - 64^pm-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"pm-37vj4-jkr4l-lc9945spfftkne57"
Value that can be used to correlate the entity with an external system.
Number of days the token will be valid for.
Number of seconds the token will be valid for.
Response
Success
The access token. Only returned at creation time.
ID of the credential associated with the access token.
Whether the access token is active.
Pat, ServiceAccount, Token, Code, Recovery, Temp, Application User id.
1 - 64^us-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"us-6b58p-r53sr-rlrd3l5cj3uc4ome"
ID of the application the access token is linked to.
1 - 64^ap-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"ap-2a9in-tt2a1-983lho480p35ejd0"
Human-readable name of the access token.
Organization id.
1 - 64^or-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"or-30tnh-itmjs-s235s5ontr3r23h2"
Public key associated with the access token.
Token id.
1 - 64^to-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"to-202a0-cdo33-o65mbt6q758lvvnt"
Permissions (roles) assigned to the access token.