Skip to navigation

Create forwarding rule

Adds a call forwarding rule to a campaign: a phone number or SIP destination the agent can transfer to, and who it is for.

Authentication

api-keystring

Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.

Path parameters

campaignIdstringRequired
ID of the campaign.

Request

This endpoint expects an object.
PhoneNumberstringRequired
WhostringRequired
TypeenumRequired
Allowed values:
ExtensionstringOptional
TransferMessagestringOptional
TransferWithSummarybooleanOptional
SIPURIstringOptional
SIPHeadersstringOptional

JSON-serialized SIP headers

Response

Forwarding rule created

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error