v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14191644620.9 KB

Creates a SIP rule which can be used to run a SIP media application as a target for a specific trigger type.

post/sip-rules

Request body

Namestring required

The name of the SIP rule.

TriggerType'ToPhoneNumber' | 'RequestUriHostname' required

The type of trigger assigned to the SIP rule in <code>TriggerValue</code>, currently <code>RequestUriHostname</code> or <code>ToPhoneNumber</code>.

TriggerValuestring required

If <code>TriggerType</code> is <code>RequestUriHostname</code>, the value can be the outbound host name of an Amazon Chime Voice Connector. If <code>TriggerType</code> is <code>ToPhoneNumber</code>, the value can be a customer-owned phone number in the E164 format. The <code>SipMediaApplication</code> specified in the <code>SipRule</code> is triggered if the request URI in an incoming SIP request matches the <code>RequestUriHostname</code>, or if the <code>To</code> header in the incoming SIP request matches the <code>ToPhoneNumber</code> value.

Disabledboolean

Enables or disables a rule. You must disable rules before you can delete them.

Response

Success