POST
/
v2
/
enterprise
/
api-keys
curl -X POST "https://api.devin.ai/v2/enterprise/api-keys" \
  -H "Authorization: Bearer YOUR_ENTERPRISE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"org_id":"org_123"}'
{ "api_key": "devin_enterprise_service_key_value", "org_id": "org_123" }
Requires an enterprise admin external API key. Creates a service API key for a specified organization within the enterprise.

Request Body

string
required
Organization ID to create a service key for.

Response

api_key
string
required
Newly created service API key.
org_id
string
required
Organization ID associated with the created key.
curl -X POST "https://api.devin.ai/v2/enterprise/api-keys" \
  -H "Authorization: Bearer YOUR_ENTERPRISE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"org_id":"org_123"}'
{ "api_key": "devin_enterprise_service_key_value", "org_id": "org_123" }