---
title: "Add Transfer Rule"
method: POST
path: "/v1/smb/customer-facing-agents/{agent_id}/transfer-rules"
tags: ["smb", "SMB"]
---

# Add Transfer Rule

`POST /v1/smb/customer-facing-agents/{agent_id}/transfer-rules`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/smb/customer-facing-agents/{agent_id}/transfer-rules`
- Auth: none declared

Add a phone forwarding rule to the named receptionist.

## Path parameters

- `agent_id` string, required

## Headers

- `xi-api-key` string, nullable: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
- `xi-workspace-id` string, nullable: The customer workspace a reseller's API key acts on.

## Request body

- BodySmbAddTransferRule
  - `request` SMBCreateTransferRuleRequest, required: Request model for creating a new transfer rule.
    - `label` string, required
    - `phone_number` string, required
    - `condition` string, required
    - `post_dial_digits` string, nullable: DTMF digits automatically played after the transfer destination picks up (e.g. '1' to answer a 'press 1 to accept' screen, or 'www1234' to key an extension after a pause). Valid characters are 0-9, *, #, w (0.5s pause) and W (1s pause). Twilio transfers only.

## Response `200`

Successful Response

- SMBTransferRule: A configured phone number that the agent can transfer calls to.
  - `label` string, required
  - `phone_number` string, required
  - `condition` string, required
  - `post_dial_digits` string, nullable: DTMF digits automatically played after the transfer destination picks up (e.g. '1' to answer a 'press 1 to accept' screen, or 'www1234' to key an extension after a pause). Valid characters are 0-9, *, #, w (0.5s pause) and W (1s pause). Twilio transfers only.
  - `id` string
  - `created_at_unix` integer: Unix timestamp (seconds since epoch)

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-30** `b77988199a2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/smb/customer-facing-agents/:agent_id/transfer-rules/post.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/b402c33b07b4?raw)
