Phone Numbers
Phone Numbers

Get Agent For Number

Get agent configuration for a phone number.

This endpoint is used by the orchestrator to lookup agent config when a call comes in to a specific DID.

get/v1/phone-numbers/{number}/agent

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/phone-numbers/{number}/agent
  • Auth: HTTP bearer

Path parameters

numberstring required

Response

Successful Response

agent_idstring required
system_promptstring required
modelstring required
temperaturenumber required
languagestring required
voice_idstring required
user_idstring nullable required
enginestring

Changes

No recorded changes to this operation across all 1 revision of this API.