Menu

Expand
Rate this page:

Plugin Release Resource

The Plugin Release resource lets you set a Configuration active on a Flex project. A Flex project can have multiple Plugins with different Versions. When you're confident that your Plugins all work properly and are ready for production, you can create a release to push the changes to your contact center.

This allows you to audit when a Flex project changed and rollback your changes when necessary. Releases are immutable and irreversible. A rollback requires a new Release using a previous Configuration.

PluginRelease properties

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

The unique string that we created to identify the Plugin Release resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the Plugin Release resource and owns this resource.

configuration_sid
sid<FJ> Not PII

The SID of the Plugin Configuration resource to release.

date_created
date_time<iso8601> Not PII

The date and time in GMT when the Flex Plugin Release was created specified in ISO 8601 format.

url
url Not PII

The absolute URL of the Plugin Release resource.

Create a PluginRelease resource

post
https://flex-api.twilio.com/v1/PluginService/Releases
Parameters
Parameters in REST API format
configuration_id
Required
post sid_like<FJ> Not PII

The SID or the Version of the Flex Plugin Configuration to release.

flex_metadata
Header
post string Not PII

The Flex-Metadata HTTP request header

Example 1
        
        
        

        Fetch a PluginRelease resource

        get
        https://flex-api.twilio.com/v1/PluginService/Releases/{Sid}
        Parameters
        Parameters in REST API format
        sid
        Path
        get sid_like<FK> Not PII

        The SID of the Flex Plugin Release resource to fetch.

        flex_metadata
        Header
        get string Not PII

        The Flex-Metadata HTTP request header

        Example 1
              
              
              

              Read multiple PluginRelease resources

              get
              https://flex-api.twilio.com/v1/PluginService/Releases
              Parameters
              Parameters in REST API format
              flex_metadata
              Header
              get string Not PII

              The Flex-Metadata HTTP request header

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

                          
                          
                          

                          Thank you for your feedback!

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

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

                          Thanks for your feedback!

                          Refer us and get $10 in 3 simple steps!

                          Step 1

                          Get link

                          Get a free personal referral link here

                          Step 2

                          Give $10

                          Your user signs up and upgrade using link

                          Step 3

                          Get $10

                          1,250 free SMSes
                          OR 1,000 free voice mins
                          OR 12,000 chats
                          OR more