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

        Create Plugin Release

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

              Fetch Plugin Release

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

                    Read Plugin Release

                    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