Add Custom Phone Number
Adds a custom phone number to an agent. The user must configure their SIP trunk to point to Phonic's SIP server.
Authentication
AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
Path parameters
nameOrId
The name or the ID of the agent.
Query parameters
project
The name of the project containing the agent. Only used when nameOrId is a name.
Request
This endpoint expects an object.
phone_number
The E.164 formatted phone number to add (e.g., “+15551234567”).
Response
Success response
success