Enigma Developers
API ReferenceAPI Keys

Get the current key

GET
/v1/api-keys/me

Returns the organization and scopes of the key making the request. Needs no scope.

Authorization

headerAuthorizationBearer <token>

Your organization API key: Authorization: Bearer org_…

Response Body

The key.

application/json
  1. response
keyId*string
organizationId*string
scopes*array<>
expiresAt*|
Formatdate-time
curl -X GET 'https://api.enigma-ai.com/v1/api-keys/me'
{  "keyId": "string",  "organizationId": "string",  "scopes": [    "message:read"  ],  "expiresAt": "2019-08-24T14:15:22Z"}