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>"
}

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

Path Parameters

agentId
string
required
branchId
string
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 June 1, 2026