v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
agents

Update Phone Number

Updates a phone number on an agent.

patch/agents/{nameOrId}/phone-numbers

Path parameters

nameOrIdstring required

The name or the ID of the agent.

Query parameters

projectstring

The name of the project containing the agent. Only used when nameOrId is a name.

Headers

Authorizationstring required

Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.

Request body

phone_numberstring required

The E.164 formatted phone number to add (e.g., "+15551234567").

Response

Success response

successboolean required