Skip to main content
PATCH
/
api
/
v1
/
agents
/
{agentId}
Update an agent
curl --request PATCH \
  --url https://prod.featherhq.com/api/v1/agents/{agentId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "callObservabilityEnabled": true
}'
{
  "agent": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "inboundPhoneNumbers": [
      {
        "id": "<string>"
      }
    ],
    "outboundPhoneNumbers": [
      {
        "id": "<string>"
      }
    ],
    "callObservabilityEnabled": false
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

agentId
string
required

Body

application/json
name
string
description
string | null
callObservabilityEnabled
boolean

Response

Agent updated successfully

agent
object
required