GET
/
agents
/
get
curl --request GET \
  --url https://svalync.com/api/agents/get \
  --header 'x-api-key: <x-api-key>'
{
  "response": [
    {
      "success": true,
      "data": {
        "id": "<string>",
        "name": "<string>",
        "welcomeMessage": "<string>",
        "task": "<string>",
        "voice": "<string>",
        "language": "<string>",
        "telephonyProvider": {},
        "callTermination": 123,
        "hangupMessage": "<string>",
        "apiTool": "<any>",
        "knowledgeBase": "<string>",
        "workflow": "<string>",
        "userId": "<string>",
        "inboundPhoneNumber": 123,
        "createdAt": 123,
        "updatedAt": 123
      }
    }
  ]
}

Authorization

x-api-key
string
required

Your Api Key

Params

id
string
required

The unique identifier for the agent being retrieved.

Response

response
array