Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
branches
/
{branchId}
/
attributes
Create attribute
curl --request POST \
  --url https://api.us.poly.ai/v1/agents/{agentId}/branches/{branchId}/attributes \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required
Minimum string length: 1

Response

201 - application/json

Created attribute

id
string
required
name
string
required
Last modified on April 22, 2026