Skip to main content
POST
Neuen API-Schlüssel erstellen

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required

Name des API-Schlüssels (max. 80 Zeichen)

expiresAt
string<date-time>

Optionales Ablaufdatum

scopes
enum<string>[]

Scopes für den neuen Schlüssel. Weglassen für einen Schlüssel mit vollem Zugriff. <resource>:write schließt <resource>:read ein.

Available options:
accounts:read,
accounts:write,
posts:read,
posts:write,
media:read,
media:write,
analytics:read,
inbox:read,
inbox:write,
ai:read,
ai:write,
biolinks:read,
biolinks:write,
teams:read,
teams:write,
settings:read,
settings:write,
webhooks:read,
webhooks:write,
support:read,
support:write,
templates:read,
whatsapp:read,
whatsapp:write
Example:

Response

201 - application/json

API-Schlüssel erstellt

id
string

Schlüssel-UUID

name
string

Name des Schlüssels

keyPrefix
string

Schlüsselpräfix zur Identifizierung

scopes
string[] | null

Scopes des Schlüssels; null bedeutet vollen Zugriff

fullKey
string

Vollständiger API-Schlüssel (wird nur einmal angezeigt)

createdAt
string<date-time>