Skip to main content

Create API Key

POST 

/organizations/:organizationId/api-keys

Generate a new API key for external API access. The full key secret is ONLY returned in this response - store it securely! API access is only available for Professional and Enterprise plans.

Request

Path Parameters

    organizationId stringrequired

    Organization ID

Body

required
    name stringrequired

    User-friendly name for the API key

    permissions string[]

    Optional array of permission scopes

Responses

Schema
    data objectrequired

    Response data

    id stringrequired
    name stringrequired
    keyPrefix stringrequired
    secret stringrequired
    status stringrequired
    permissions string[]
    createdAt numberrequired
Loading...
Was this page helpful?