Get a phone number
get a single owned phone number by id.
GET
https://api.centerfy.ai/webhooks/inbound/phone-numbers/:id Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | Your API key. Alternatively, pass it as Authorization: Bearer <key>. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | The phone number id to retrieve. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/phone-numbers/{id}" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.phoneNumbers.get("<phoneNumberId>");
console.log(result); centerfy phoneNumbers get <phoneNumberId> MCP tool: centerfy_phone_numbers_get (see MCP server)
Response
{
"status": "success",
"phone_number": {
"id": "3f1c2b9a-7d4e-4a21-9c33-0a1b2c3d4e5f",
"phone_number": "+14155552671",
"purchased": true,
"agent_id": "a1b2c3d4-e5f6-7890-abcd-1234567890ab",
"agent_name": "Front Desk Agent",
"is_active": true,
"purchased_at": "2026-01-15T10:30:00.000Z",
"next_billing_date": "2026-07-15T10:30:00.000Z"
}
}Errors
400— if the id is not a valid UUID; 404 if no such phone number exists.
Notes
Returns the same shape as the list endpoint, including the assigned agent’s name.