v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Management UI

Create an API Key

Creates an API Key with admin permissions. The API Key is valid for 15 minutes. To activate this feature, set the FEATURE_USE_SUPERAPIKEY_API to "true".

post/management/v2.0/organisations/{organisationId}/apikeys

Path parameters

organisationIdstring required

The Id of the Organisation

Headers

Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Response

Returns the created api-key.

namestring
_idstring
createdAtinteger
apiKeystring

Example response

{
  "createdAt": 1527621049
}