v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
agents

Delete Custom Phone Number

Deletes a custom phone number from an agent.

delete/agents/{nameOrId}/custom-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 remove (e.g., "+15551234567").

Response

Success response

successboolean required