Tokens

Mint a Personal Access Token

Create a PAT for the REST API. Cognito-authenticated (you cannot mint a PAT with a PAT). The plaintext token is returned exactly once. Owners/admins can mint any scope; members and viewers can mint read-only scopes only.

Role gate: owner / admin (to mint write scopes).

Scope: any.

post/api/companies/{companyId}/pats

Request

  • Base URL
    https://comply.strac.io
  • Auth
    HTTP bearer

Path parameters

companyIdstring required

Your organization id.

Request body

labelstring required

Shows in the token list in Settings.

scopesstring[] required

Least-privilege scope set; each must be a canonical scope.

expiresInDays0 | 30 | 90 | 365 required

Token lifetime in days. 0 = never expires (service accounts).

Response

Mint a Personal Access Token

Changes

No recorded changes to this operation across all 1 revision of this API.