API ReferenceOrg Keys
Create an org-scoped API key (full secret returned once). Deprecated - use POST /api/org/{orgId}/keys.
Create an org-scoped API key (full secret returned once). Deprecated - use POST /api/org/{orgId}/keys. - Rensei REST API operation reference.
POST
header
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
application/json- body
name*stringHuman-readable key name.
scopes?array<string>expiresAt?stringISO-8601 expiry.
Key created; fullKey returned once.
application/json- response
id*stringfullKey*string[key: string]?unknowncurl -X POST 'https://app.rensei.ai/api/org/api-keys' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "id": "string", "fullKey": "string", "property1": null, "property2": null}