api-keys

Create a scoped API key (max 10/account). Raw key shown once — store securely. Scope: 'team', 'workspace', or 'resource'

post/api/v1/api-keys

Request

  • Base URL: https://crispy.sh
  • URL: https://crispy.sh/api/v1/api-keys
  • Auth: HTTP bearer

Request body

namestring

Human-readable label for the key (optional).

scope'team' | 'workspace' | 'resource'

Key scope. Defaults to 'team'.

permissionsstring[]

Permissions list e.g. ['campaigns:read','inbox:read']. Null/omitted = full access.

expires_in_daysnumber

Days until the key expires. Omit for no expiry.

Response

Success

Changes

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