Create a number pool
create a number pool.
POST
https://api.centerfy.ai/webhooks/inbound/number-pools 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>. |
Content-Type | Yes | application/json | Request body is JSON. |
Body parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | The pool name. Required and may not be empty or whitespace-only (400 otherwise). |
Request body
{
"name": "Outbound rotation"
}Example
curl -X POST "https://api.centerfy.ai/webhooks/inbound/number-pools" \
-H "x-api-key: $CENTERFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Outbound rotation"
}' import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.numberPools.create({
"name": "Outbound rotation"
});
console.log(result); centerfy numberPools create '{"name":"Outbound rotation"}' MCP tool: centerfy_number_pools_create (see MCP server)
Response
{
"status": "success",
"created": true,
"number_pool": {
"id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"name": "Outbound rotation",
"number_count": 0,
"numbers": [],
"created_at": "2026-06-12T14:00:00.000Z",
"updated_at": "2026-06-12T14:00:00.000Z"
}
}Errors
400— if name is missing or blank.
Notes
Returns HTTP 201. The pool starts empty — numbers are added separately.