Endpoints

Configure webhook and AI agent endpoints (Vapi, Retell, ElevenLabs, LiveKit, Vogent, Custom SIP)

List endpoints

get

Retrieves all configured endpoints (webhooks and AI agents)

Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Alternative: You can also use the x-api-key header instead of Authorization Bearer.

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Responses
chevron-right
200

List of endpoints

application/json
idstring · uuidOptional
namestringOptionalExample: Customer Support Agent
typestring · enumOptional

Endpoint type: AI agent provider or custom routing

Possible values:
urlstring · uriOptional

Endpoint URL or auto-generated SIP URI

statusstring · enumOptionalPossible values:
provider_configone ofOptional

Provider-specific configuration. Schema varies by endpoint type.

or
or
or
or
or
organization_idstring · uuidOptional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
get
/endpoints

Create endpoint

post

Creates a new endpoint for call routing. Supports multiple provider types:

  • webhook: Custom HTTP endpoint receiving call events

  • vapi: Vapi AI voice agent

  • retell: Retell AI voice agent

  • livekit: LiveKit real-time communication

  • custom_sip: Custom SIP endpoint

For AI providers (vapi, retell, livekit), the SIP URI is auto-generated.

Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Alternative: You can also use the x-api-key header instead of Authorization Bearer.

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Body
namestring · max: 100Required
typestring · enumRequiredPossible values:
urlstring · uriOptional

Required for webhook and custom_sip types

provider_configone ofOptional

Provider-specific configuration. Schema varies by endpoint type.

or
or
or
or
or
phone_number_idstring · uuidOptional

Optional phone number to attach during creation

Responses
post
/endpoints

Get endpoint details

get
Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Alternative: You can also use the x-api-key header instead of Authorization Bearer.

Path parameters
idstring · uuidRequired

Endpoint UUID

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Responses
chevron-right
200

Endpoint details

application/json
idstring · uuidOptional
namestringOptionalExample: Customer Support Agent
typestring · enumOptional

Endpoint type: AI agent provider or custom routing

Possible values:
urlstring · uriOptional

Endpoint URL or auto-generated SIP URI

statusstring · enumOptionalPossible values:
provider_configone ofOptional

Provider-specific configuration. Schema varies by endpoint type.

or
or
or
or
or
organization_idstring · uuidOptional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
get
/endpoints/{id}

Delete endpoint

delete
Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Alternative: You can also use the x-api-key header instead of Authorization Bearer.

Path parameters
idstring · uuidRequired

Endpoint UUID

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Responses
delete
/endpoints/{id}

No content

Update endpoint

patch
Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Alternative: You can also use the x-api-key header instead of Authorization Bearer.

Path parameters
idstring · uuidRequired

Endpoint UUID

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Body
namestring · max: 100Optional
urlstring · uriOptional
statusstring · enumOptionalPossible values:
provider_configone ofOptional

Provider-specific configuration. Schema varies by endpoint type.

or
or
or
or
or
Responses
chevron-right
200

Endpoint updated

application/json
idstring · uuidOptional
namestringOptionalExample: Customer Support Agent
typestring · enumOptional

Endpoint type: AI agent provider or custom routing

Possible values:
urlstring · uriOptional

Endpoint URL or auto-generated SIP URI

statusstring · enumOptionalPossible values:
provider_configone ofOptional

Provider-specific configuration. Schema varies by endpoint type.

or
or
or
or
or
organization_idstring · uuidOptional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
patch
/endpoints/{id}

Last updated