メニュー

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?

Outgoing Caller ID Resource

An OutgoingCallerId resource represents a single verified number that may be used as a caller ID when making outgoing calls via the REST API and within the TwiML <Dial> verb.

Outgoing Caller IDs are created by adding verified phone numbers in the Twilio console and cannot be created via API. Any phone numbers that you purchase through the Twilio API are already available to be used as caller IDs for outbound calls.

Outgoing Caller ID resource properties

When retrieved via REST API, Outgoing Caller ID resources will have the following properties.

Names in PHP format
sid
sid<PN> Not PII

The unique string that that we created to identify the OutgoingCallerId resource.

dateCreated
date_time<rfc2822> Not PII

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

dateUpdated
date_time<rfc2822> Not PII

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

friendlyName
文字列 PII MTL: 30 DAYS

The string that you assigned to describe the resource.

accountSid
sid<AC> Not PII

The SID of the Account that created the OutgoingCallerId resource.

phoneNumber
phone_number PII MTL: 30 DAYS

The phone number in E.164 format, which consists of a + followed by the country code and subscriber number.

uri
uri Not PII

The URI of the resource, relative to https://api.twilio.com.

Fetch a single Outgoing Caller ID resource

GET
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
パラメーター
Names in None format
account_sid
必須
GET sid<AC> Not PII

The SID of the Account that created the OutgoingCallerId resource to fetch.

sid
必須
GET sid<PN> Not PII

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

        
        
        
        

        List multiple Outgoing Caller IDs

        GET
        https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json
        パラメーター
        Names in None format
        phone_number
        オプション
        GET phone_number PII MTL: 30 DAYS

        The phone number of the OutgoingCallerId resources to read.

        friendly_name
        オプション
        GET 文字列 PII MTL: 30 DAYS

        The string that identifies the OutgoingCallerId resources to read.

        account_sid
        必須
        GET sid<AC> Not PII

        The SID of the Account that created the OutgoingCallerId resources to read.

              
              
              
              

              Update an Outgoing Caller ID resource

              post
              https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
              パラメーター
              Names in None format
              account_sid
              必須
              post sid<AC> Not PII

              The SID of the Account that created the OutgoingCallerId resources to update.

              sid
              必須
              post sid<PN> Not PII

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

              friendly_name
              オプション
              post 文字列 PII MTL: 30 DAYS

              A descriptive string that you create to describe the resource. It can be up to 64 characters long.

                    
                    
                    
                    

                    Delete an Outgoing Caller ID resource

                    削除する
                    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
                    パラメーター
                    Names in None format
                    account_sid
                    必須
                    削除する sid<AC> Not PII

                    The SID of the Account that created the OutgoingCallerId resources to delete.

                    sid
                    必須
                    削除する sid<PN> Not PII

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

                          
                          
                          
                          
                          Rate this page:

                          ヘルプが必要ですか?

                          誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。