Skip to content

Developers

A SIP trunk your code and your agents can use.

Everything in the portal is also available over a REST API and an MCP server, with the same API key. Call events arrive as signed webhooks.

REST API
https://sip.cr/api/v1
MCP server
https://sip.cr/mcp
Authentication
Authorization: Bearer <key>
Rate limit
1,000 requests per hour per key, REST and MCP together
Reference
OpenAPI reference in the portal after sign-in

MCP

MCP server for your agent

Point Claude Code, Cursor or VS Code at sip.cr/mcp and your coding agent can look at your telephony while it works: which trunks exist, which numbers go where, what happened on the last calls.

  • Streamable HTTP, stateless, authenticated with your API key
  • Each tool calls the REST API, so it can do exactly what the key can do and nothing else
  • Every change made through MCP is recorded as such in the account history
# Claude Code
claude mcp add --transport http sipcr https://sip.cr/mcp \
  --header "Authorization: Bearer $SIPCR_API_KEY"

# Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "sipcr": {
      "url": "https://sip.cr/mcp",
      "headers": { "Authorization": "Bearer ${env:SIPCR_API_KEY}" }
    }
  }
}

Tools available today (14)

ToolWhat it does
get_companyGet account
get_company_profileGet account profile
list_trunksList SIP trunks
get_trunkGet SIP trunk
list_trunk_groupsList trunk groups
get_trunk_groupGet trunk group
list_numbersList phone numbers
get_numberGet phone number
search_available_numbersSearch available numbers
list_callsList calls
get_callGet call
get_call_statsCall statistics
get_stats_summaryStatistics summary
list_usageList usage records

This list is what the server offers right now. Claude Desktop and claude.ai connectors are not supported yet.

REST

REST API

JSON over HTTPS at https://sip.cr/api/v1, with Authorization: Bearer and your API key.

ResourcePathWhat you can do
Account/api/v1/companyStatus, credit position and profile.
SIP trunks/api/v1/trunksCreate, read, change channels and delete trunks.
Trunk groups/api/v1/trunk-groupsGroup trunks with ordered failover for inbound calls.
Numbers/api/v1/numbersSearch stock by area code, buy, route, activate, deactivate and release.
Calls/api/v1/callsCall records with result, duration and cost.
Statistics/api/v1/statsAnswer rate, average duration and call volume.
Usage/api/v1/usageBillable usage for the current period.

Webhooks

Webhooks

Choose a URL in the portal and SIP.cr posts events to it: each call when its record arrives, right after the call ends, and each change to your trunks and numbers.

  • Events: call.initiated, call.answered, call.completed, call.failed, trunk.status_changed, number.purchased, number.released and quality.alert
  • Each request is signed with HMAC-SHA256 of the body in X-Webhook-Signature
  • A failed delivery is retried for about 8 hours (6 attempts); send a test event and read the delivery log from the portal
# Check the signature before trusting the body
X-Webhook-Signature: sha256=<hex>

expected = hmac_sha256(secret, raw_body)
valid    = constant_time_equals("sha256=" + expected, header)

# events
call.initiated · call.answered · call.completed · call.failed

API keys

Keys you stay in control of.

An API key can do everything your account can, including buying numbers. These controls keep that safe.

  • 01

    Expiry and revocation

    Give each agent its own key, with an expiry date, and revoke it from the portal at any time.

  • 02

    Read-only while inactive

    While an account is not active, keys can read but not change anything.

  • 03

    A record of every change

    The account history shows which key, or which person, changed each trunk and number, and whether it came through the API or MCP.

Reviewed, then live

Put your AI voice agent on the phone network.

Create the account today. Once our team approves it and you add a payment method, your first trunk and number take a few minutes.

Create account Talk to sales