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
|
The unique string that we created to identify the Build resource. |
account_sid
|
The SID of the Account that created the Build resource. |
service_sid
|
The SID of the Service that the Build resource is associated with. |
status
|
The status of the Build. Can be: |
url
|
The absolute URL of the Build Status resource. |
Fetch a BuildStatus resource
https://serverless.twilio.com/v1/Services/{ServiceSid}/Builds/{Sid}/Status
Parameters
Parameters in REST API format | |
---|---|
service_sid
Path
|
The SID of the Service to fetch the Build resource from. |
sid
Path
|
The SID of the Build resource to fetch. |
Example 1
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.