Skip to main content
POST
/
v1
/
agents
Create agent
curl --request POST \
  --url https://api.us.poly.ai/v1/agents \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "responseSettings": {
    "greeting": "<string>",
    "languageCode": "en-GB"
  },
  "voiceSettings": {
    "voiceId": "<string>"
  },
  "agentId": "<string>",
  "llmSettings": {
    "modelId": "<string>"
  }
}
'
{
  "accountId": "<string>",
  "agentId": "<string>",
  "agentName": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "branchCount": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.poly.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 100
responseSettings
object
required
voiceSettings
object
required
agentId
string
Pattern: ^[a-zA-Z0-9-]+$
llmSettings
object
experimentalConfig
object

Response

200 - application/json

Created agent

accountId
string
required
agentId
string
required
agentName
string
required
createdAt
string
required
updatedAt
string
required
branchCount
number
required
Last modified on May 8, 2026