Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

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
sid<IB> Not PII

The unique string that we created to identify the IP Record resource.

ip_record_sid
sid<IL> Not PII

The Twilio-provided string that uniquely identifies the IP Record resource to map from.

sip_domain_sid
sid<SD> Not PII

The SID of the SIP Domain that the IP Record is mapped to.

date_created
date_time<iso8601> Not PII

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_updated
date_time<iso8601> Not PII

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

url
url Not PII

The absolute URL of the resource.

Create a SourceIpMapping resource

post
https://voice.twilio.com/v1/SourceIpMappings
Parameters
Parameters in REST API format
ip_record_sid
Required
post sid<IL> Not PII

The Twilio-provided string that uniquely identifies the IP Record resource to map from.

sip_domain_sid
Required
post sid<SD> Not PII

The SID of the SIP Domain that the IP Record should be mapped to.

Example 1
        
        
        
        

        Fetch a SourceIpMapping resource

        get
        https://voice.twilio.com/v1/SourceIpMappings/{Sid}
        Parameters
        Parameters in REST API format
        sid
        Path
        get sid<IB> Not PII

        The Twilio-provided string that uniquely identifies the IP Record resource to fetch.

        Example 1
              
              
              
              

              Read multiple SourceIpMapping resources

              get
              https://voice.twilio.com/v1/SourceIpMappings
              Example 1
                    
                    
                    
                    

                    Update a SourceIpMapping resource

                    post
                    https://voice.twilio.com/v1/SourceIpMappings/{Sid}
                    Parameters
                    Parameters in REST API format
                    sid
                    Path
                    post sid<IB> Not PII

                    The Twilio-provided string that uniquely identifies the IP Record resource to update.

                    sip_domain_sid
                    Required
                    post sid<SD> Not PII

                    The SID of the SIP Domain that the IP Record should be mapped to.

                    Example 1
                          
                          
                          
                          

                          Delete a SourceIpMapping resource

                          delete
                          https://voice.twilio.com/v1/SourceIpMappings/{Sid}
                          Parameters
                          Parameters in REST API format
                          sid
                          Path
                          delete sid<IB> Not PII

                          The Twilio-provided string that uniquely identifies the IP Record resource to delete.

                          Example 1
                                
                                
                                
                                
                                Rate this page:

                                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 browsing the Twilio tag on Stack Overflow.