Skip to main content
POST
Create an MCP API key

Authorizations

Authorization
string
header
required

DRF user token. Format: Token <token>

Body

application/json
organization_id
string<uuid>
required
name
string
required
Example:

"claude-code"

Response

201 - application/json

Key created (secret shown once)

id
string<uuid>
name
string
plaintext
string

The full secret — shown ONCE, not retrievable later

Example:

"ecn_mcp_…"

key_prefix
string
Example:

"ecn_mcp_ab12"

endpoint
string<uri>

The MCP endpoint to use this key against

is_active
boolean
created_at
string<date-time>