Tokens
3 operations, generated from the OpenAPI document.
The caller's personal access tokens (never their secrets)
GET /api/me/tokens
Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).
Responses
200Successtokensarray of object requiredidstring (uuid) requirednamestring requiredprefixstring requiredscopesarray of "data.records:read" | "data.records:write" | "data.recordComments:read" | "data.recordComments:write" | "schema.bases:read" | "schema.bases:write" | "webhook:manage" | "automations:read" | … requiredworkspaceIdsarray of string (uuid) requiredbaseIdsarray of string (uuid) requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) requiredlastUsedAtstring (date-time) | null requiredusagearray of object requireddaystring (date) requiredrequestsinteger required
401Not signed in429Too many requests: a rate limit was reached (see Retry-After)
Create a personal access token; the answer is the only time its secret is shown
POST /api/me/tokens
Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).
Request body
namestring requiredscopesarray of "data.records:read" | "data.records:write" | "data.recordComments:read" | "data.recordComments:write" | "schema.bases:read" | "schema.bases:write" | "webhook:manage" | "automations:read" | … requiredworkspaceIdsarray of string (uuid)baseIdsarray of string (uuid)expiresInDaysinteger
Responses
201Successidstring (uuid) requirednamestring requiredprefixstring requiredscopesarray of "data.records:read" | "data.records:write" | "data.recordComments:read" | "data.recordComments:write" | "schema.bases:read" | "schema.bases:write" | "webhook:manage" | "automations:read" | … requiredworkspaceIdsarray of string (uuid) requiredbaseIdsarray of string (uuid) requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) requiredlastUsedAtstring (date-time) | null requiredusagearray of object requireddaystring (date) requiredrequestsinteger required
tokenstring required
401Not signed in422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Revoke a personal access token
DELETE /api/me/tokens/{tokenId}
Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tokenId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in429Too many requests: a rate limit was reached (see Retry-After)