Menu

Expand
Rate this page:

Build Status

The /Status endpoint for each Build lets you retrieve the status of that Build. We recommend using this endpoint to poll for the status, rather than the /Builds endpoint.

BuildStatus properties

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

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

account_sid
sid<AC> Not PII

The SID of the Account that created the Build resource.

service_sid
sid<ZS> Not PII

The SID of the Service that the Build resource is associated with.

status
enum:status Not PII

The status of the Build. Can be: building, completed, or failed.

url
url Not PII

The absolute URL of the Build Status resource.

Fetch a BuildStatus resource

get
https://serverless.twilio.com/v1/Services/{ServiceSid}/Builds/{Sid}/Status
Parameters
Parameters in REST API format
service_sid
Path
get sid_like<ZS> Not PII

The SID of the Service to fetch the Build resource from.

sid
Path
get sid<ZB> Not PII

The SID of the Build resource to fetch.

Example 1
Loading Code Sample...
        
        

        Fetch Build Status

        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