Skip to main content
POST
Create a personal access token

Authorizations

X-Domino-Api-Key
string
header
required

Body

application/json

Personal access token to be created

expiresIn
integer
required
name
string
required
description
string
scopes
string[]

Scopes to grant the token, chosen from GET /api/pat/v1/tokens/grantable-scopes. Omitted or empty grants none. Requesting a scope outside the grantable set is rejected.

Example:

Response

success

createdAt
string<date-time>
required
Example:

"2025-08-21T23:51:54.075Z"

expiresAt
string<date-time>
required
Example:

"2025-08-21T23:51:54.075Z"

isValid
boolean
required
name
string
required
patId
string
required
userId
string
required
username
string
required
token
string
required
description
string
scopes
string[]

Scopes the token was granted. Absent on tokens minted before scopes were supported, which are unrestricted.

Example:
Last modified on September 18, 2026