Menu

Expand
Rate this page:

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
Loading Code Sample...
        
        

        Create Ip Record

        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
        Loading Code Sample...
              
              

              Fetch Ip Record

              Read multiple IpRecord resources

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

                    Read Ip Record

                    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
                    Loading Code Sample...
                          
                          

                          Update Ip Record

                          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
                          Loading Code Sample...
                                
                                

                                Delete Ip Record

                                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 by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

                                Loading Code Sample...
                                      
                                      
                                      

                                      Thank you for your feedback!

                                      Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                                      Sending your feedback...
                                      🎉 Thank you for your feedback!
                                      Something went wrong. Please try again.

                                      Thanks for your feedback!

                                      thanks-feedback-gif