Integrations
POST
/api/v1/integrations

Create a new credential row for a voice AI platform.

Multiple credentials per platform are now supported. The first row created for a given (org, platform) automatically becomes the default; subsequent rows can be promoted via POST /integrations/{id}/set-default. integration_data.is_default can also be set explicitly to mark the new row as the default at creation time. Requires at least WRITER role.

Authorization

AuthorizationBearer <token>

JWT access token. Use: Authorization: Bearer .

In: header

Header Parameters

Authorization?string|null
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null
X-Workspace-Id?string

Optional workspace scope. When omitted, the backend uses the active/default workspace from your organization context.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Schema for creating an integration.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/integrations" \  -H "Content-Type: application/json" \  -d '{    "platform": "retell",    "api_key": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "platform": "retell",  "name": "string",  "public_key": "string",  "is_active": true,  "is_default": false,  "routing_mode": "inherit",  "effective_routing": "inherit",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "last_tested_at": "2019-08-24T14:15:22Z"}

Community & contact

  1. Found a bug or have a feature request? Open a GitHub issue.
  2. Join our Discord for faster replies!