# Create a new Build resource. At least one function version or asset version is required. **POST /v1/Services/{ServiceSid}/Builds** Create a new Build resource. At least one function version or asset version is required. A collection of Function Versions, Asset Versions, Dependencies, and a Runtime that form a deployable unit. ## Servers - https://serverless.twilio.com: https://serverless.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **ServiceSid** (string) The SID of the Service to create the Build resource under. ### Body: application/x-www-form-urlencoded (object) - **AssetVersions** (array[string]) The list of Asset Version resource SIDs to include in the Build. - **FunctionVersions** (array[string]) The list of the Function Version resource SIDs to include in the Build. - **Dependencies** (string) A list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency. - **Runtime** (string) The Runtime version that will be used to run the Build resource when it is deployed. ## Responses ### 201 Created #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **sid** (string | null) The unique string that we created to identify the Build resource. - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Build resource. - **service_sid** (string | null) The SID of the Service that the Build resource is associated with. - **status** (string) The status of the Build. Can be: `building`, `completed`, or `failed`. - **asset_versions** (array | null) The list of Asset Version resource SIDs that are included in the Build. - **function_versions** (array | null) The list of Function Version resource SIDs that are included in the Build. - **dependencies** (array | null) A list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency. - **runtime** (string) The Runtime version that will be used to run the Build resource when it is deployed. - **date_created** (string(date-time) | null) The date and time in GMT when the Build resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **date_updated** (string(date-time) | null) The date and time in GMT when the Build resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **url** (string(uri) | null) The absolute URL of the Build resource. - **links** (object(uri-map) | null) [Powered by Bump.sh](https://bump.sh)