Create an API key
Auth
Create an API key
Creates a new API key for the authenticated user with specified permissions and optional expiration.
POST
Create an API key
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Name for the API key (e.g., "Zapier integration").
Minimum string length:
1A map of space IDs to permissions. Each space ID is associated with an array of permissions that the API key will have access to in that space.
Optional expiration value (ISO timestamp or UNIX seconds) after which the API key becomes invalid.