Generate API Token
POST/users/me/api-tokens
Create a bearer API token for the authenticated user with an optional name and expiration date (ISO format; omit for a 90-day default, at most 365 days ahead). Only a signed-in web session may call it: an API token is refused with 403. Limited to 10 tokens per hour per user (429). Returns 201 with the token value, or 400 when the expiration date is invalid, not in the future or beyond the maximum lifetime.
Request
Responses
- 200
- 422
Successful Response
Validation Error