> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rasen.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rasen.ai/_mcp/server.

This date covers three steps of the API: additions to 1.8.0 that kept its version number, then
version 1.9.0, then version 1.10.0. Each change below names the version that added it, newest
first.

## Version 1.10.0: connect and manage SIP trunks

The API version moves from 1.9.0 to 1.10.0. New SIP setup operations:

| Operation                    | Path                                                              |
| ---------------------------- | ----------------------------------------------------------------- |
| `connectSipTrunk`            | `POST /telephony/sip-trunk`                                       |
| `disconnectSipTrunk`         | `DELETE /telephony/sip-trunk`                                     |
| `createSipInboundConnection` | `POST /telephony/sip-trunk/inbound-connections`                   |
| `updateSipInboundConnection` | `PATCH /telephony/sip-trunk/inbound-connections/{connection_id}`  |
| `deleteSipInboundConnection` | `DELETE /telephony/sip-trunk/inbound-connections/{connection_id}` |
| `createSipOutboundTrunk`     | `POST /telephony/sip-trunk/outbound-trunks`                       |
| `updateSipOutboundTrunk`     | `PATCH /telephony/sip-trunk/outbound-trunks/{trunk_id}`           |
| `deleteSipOutboundTrunk`     | `DELETE /telephony/sip-trunk/outbound-trunks/{trunk_id}`          |
| `importSipNumber`            | `POST /telephony/sip-trunk/phone-numbers/import`                  |
| `regenerateSipAddress`       | `POST /telephony/sip-trunk/address/regenerate`                    |
| `streamSipTrunkSetup`        | `GET /telephony/sip-trunk/stream`                                 |

All require `numbers.assign`. Mutations require `Idempotency-Key`; edits, deletes and address regeneration also require `If-Match`.
`getSipTrunkSetup` (`GET /telephony/sip-trunk`) now sends an `ETag`: the setup revision to send as `If-Match` on the next setup edit.
The stream sends read-only `sip.setup` snapshots with setup and recent operation states.
A `202` response accepts work; inspect its operation state before treating it as complete.

The public errors add `carrier_not_activated`, `sip_trunk_not_enabled` and `ingress_unconfigured`.
SIP conflicts include `sip_trunk_connected`, `sip_job_running`, `in_use`, `trunk_exists` and `number_bound`.

**What to do:** Follow [Connect a SIP trunk](/guides/sip-trunk) for setup, samples, operation tracking and conflict handling.

## Version 1.9.0: read the SIP trunk setup

The API version moves from 1.8.0 to 1.9.0. New operation: `getSipTrunkSetup`
(`GET /telephony/sip-trunk`), which requires `numbers.assign`. It reads the setup state, the SIP
address of each region, and the inbound connections and outbound trunks. It never returns a trunk
username or password; a trunk shows `has_password` instead.

In 1.9.0 this was the only SIP setup operation; version 1.10.0 adds the writes and the stream.

**What to do:** Read the setup to find the SIP address to give your carrier; see
[Connect a SIP trunk](/guides/sip-trunk).

## Version 1.9.0: confirm the carrier's transfer step

Connection responses include `transfer` facts: availability, mechanism and any required setup action.
New operation `setTelephonyConnectionTransferFlow` (`PUT /telephony/connections/{connection_id}/transfer-flow`) confirms or withdraws completion of the carrier's transfer step.
It requires `numbers.assign`, `Idempotency-Key` and the connection's `If-Match`.
It records confirmation without calling the carrier.

**What to do:** Read a connection's `transfer` facts and confirm required carrier setup before publication; see [Configure call transfers](/guides/call-transfers).

## Version 1.9.0: read transfer outcomes in call results

`getCall` (`GET /calls/{call_id}`), `listCalls` (`GET /calls`) and `searchCalls` (`POST /calls/search`) include `transfer_destination_label` and `transfer_duration_ms`.
Webhook payloads containing a `Call` include these fields too; the envelope's `api_version` names the API version whose schemas built the payload.
The label describes the last destination when the call ends with `transferred` or `transfer_failed`, without exposing its number or address.
Duration is the carrier-reported time connected to that destination; it is `null` if no transfer connected or the time is unreported.

**What to do:** Read the fields as nullable and follow the [transfer verification guidance](/guides/call-transfers#verify).

## Version 1.8.0 addition: named call-transfer destinations and SIP trunk connections

These changes reached the API while its version was still 1.8.0, after the 1.8.0 entry of
2026-10-26. The version number did not change.

Agent transfer policy supports `destinations` with labels, selection instructions, targets and ring timeouts.
Targets are E.164 numbers, SIP trunk extensions, or SIP URIs, subject to the call's carrier and region.
The list replaces as a whole; keep each destination's returned `id` when editing it.
The single-number `destination_number` shape remains supported; a write cannot contain both shapes.

`createAgent` (`POST /agents`), `updateAgentDraft` (`PATCH /agents/{agent_id}/draft`) and `validateAgentDraft` (`POST /agents/{agent_id}/draft/validate`) accept the policy.
Draft and version reads include the destination list, and `publishAgent` (`POST /agents/{agent_id}/publish`) freezes it for new calls.

Connection writes also accept `provider: sip_trunk` in `createTelephonyConnection` (`POST /telephony/connections`) and `replaceTelephonyConnection` (`PUT /telephony/connections/{connection_id}`).

**What to do:** Use [Configure call transfers](/guides/call-transfers) to configure destinations before publication.