Skip to main content
POST
/
api
/
v1
/
auth
/
pat
Create Pat
curl --request POST \
  --url https://api.example.com/api/v1/auth/pat \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "<string>",
  "token": "<string>",
  "last_used_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Response returned when a new PAT is created, including the token value shown only once.

id
string<uuid>
required

Unique identifier for the PAT.

created_at
string
required

ISO-8601 timestamp when the PAT was created.

token
string
required

The raw PAT value. Only returned at creation time.

last_used_at
string | null

ISO-8601 timestamp when the PAT was last used, if ever.