PersonalAccessTokens
Create a personal access token
POST
https://api-staging.pixwel.com/api/personal-access-tokensIssues a token that authenticates as the calling user with their full permissions. The raw value is returned once in this response. A user may hold at most 20 unrevoked tokens — expired ones still count against the cap until revoked — and tokens cannot be created while impersonating.
Body
namestringrequired
Label describing where the token is used. Trimmed, and must not be empty or whitespace-only.
expiresAtintegerstringnull
Unix timestamp or any `strtotime`-parsable string. Defaults to 90 days; must be in the future and no more than 1 year out.