Integrations (app routes)

Create an API key

Scopes are intersected with the caller’s permissions. The plaintext key is returned once. Creating callback endpoints requires the separate integrazioni:webhooks:manage scope.

post/api/v1/integrazioni/keys

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/integrazioni/keys
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Request body

labelstring required
scopeMode'explicit' | 'inherit' | 'inherit_read_only'
scopesstring[]
env'live' | 'test'
expiresInDaysinteger
allowDestructiveboolean
rateLimitPerMinuteinteger nullable
dailyCallCapinteger nullable
ipAllowliststring[]
modulesstring[]

Response

Create an API key

Changes

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