Menu

Expand
Rate this page:

Segment Resource

We are no longer allowing customers to onboard to Notify. We intend to deprecate the Notify product on April 25, 2024. Learn more in our Notify API End of Life Notice. We prepared this Transition Guide to assist in supporting your push notification use cases.

The Segment resource is deprecated and has been replaced by the tags property of the Binding resource.

A Segment is a group of Users.

Because the Segment resource is deprecated, use the tags property of the Binding resource to identify groups of users that you would like to notify with a single request.

Segment properties

The Segment resource is deprecated.

Resource Properties in REST API format
sid
sid<GS> Not PII

account_sid
sid<AC> Not PII

service_sid
sid<IS> Not PII

unique_name
string Not PII

date_created
date_time<iso8601> Not PII

date_updated
date_time<iso8601> Not PII

Read multiple Segment resources

get
https://notify.twilio.com/v1/Services/{ServiceSid}/Segments
Parameters
Parameters in REST API format
service_sid
Path
get sid<IS> Not PII

Example 1
Loading Code Sample...
        
        

        Read multiple Segment resources

        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