Create forwarding rule

Authentication

api-keystring

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

Path parameters

campaignIdstringRequired

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
500
Internal Server Error