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?

IpRecord Resource

The IpRecord resource describe Static IP addresses used to address the BYOC Trunk's Termination SIP Domain via an IP Address instead of an FQDN (Fully Qualified Domain Name).

The IP Address used in this resource must be a subset of a Twilio Interconnect connection configured on the same Account.

IpRecord properties

Resource Properties in REST API format
account_sid
sid<AC> Not PII

The SID of the Account that created the IP Record resource.

sid
sid<IL> Not PII

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

friendly_name
string Not PII

The string that you assigned to describe the resource.

ip_address

An IP address in dotted decimal notation, IPv4 only.

cidr_prefix_length
integer Not PII

An integer representing the length of the CIDR prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.

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 an IpRecord resource

post
https://voice.twilio.com/v1/IpRecords
Parameters
Parameters in REST API format
ip_address
Required
post string PII MTL: 30 DAYS

An IP address in dotted decimal notation, IPv4 only.

friendly_name
Optional
post string Not PII

A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.

cidr_prefix_length
Optional
post integer Not PII

An integer representing the length of the CIDR prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.

Example 1
        
        
        
        

        Fetch an IpRecord resource

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

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

        Example 1
              
              
              
              

              Read multiple IpRecord resources

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

                    Update an IpRecord resource

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

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

                    friendly_name
                    Optional
                    post string Not PII

                    A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.

                    Example 1
                          
                          
                          
                          

                          Delete an IpRecord resource

                          delete
                          https://voice.twilio.com/v1/IpRecords/{Sid}
                          Parameters
                          Parameters in REST API format
                          sid
                          Path
                          delete sid<IL> 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.