SourceIpMapping Resource
The SourceIpMappings
resource describes the publicly-routable Static IP addresses that can be used to receive Termination traffic from a BYOC Carrier.
This resource requires that the Account has a Twilio Interconnect connection configured.
SourceIpMapping properties
Resource Properties in REST API format | |
---|---|
sid
|
The unique string that we created to identify the IP Record resource. |
ip_record_sid
|
The Twilio-provided string that uniquely identifies the IP Record resource to map from. |
sip_domain_sid
|
The SID of the SIP Domain that the IP Record is mapped to. |
date_created
|
The date and time in GMT that the resource was created specified in RFC 2822 format. |
date_updated
|
The date and time in GMT that the resource was last updated specified in RFC 2822 format. |
url
|
The absolute URL of the resource. |
Create a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings
Parameters
Parameters in REST API format | |
---|---|
ip_record_sid
Required
|
The Twilio-provided string that uniquely identifies the IP Record resource to map from. |
sip_domain_sid
Required
|
The SID of the SIP Domain that the IP Record should be mapped to. |
Example 1
Fetch a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to fetch. |
Example 1
Read multiple SourceIpMapping resources
https://voice.twilio.com/v1/SourceIpMappings
Example 1
Update a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to update. |
sip_domain_sid
Required
|
The SID of the SIP Domain that the IP Record should be mapped to. |
Example 1
Delete a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to delete. |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.