Create a new job workflow draft

Asynchronous API for creating a new job workflow draft by specifying the following parameters in the request body.
Parameters in the request body:
| Parameter | Description | Type | Validation |
|--- |--- |--- | --- |
| objectives | List of all objectives within the job. | string | minItems: 1 |
| ㅤ↳objectiveRef
| Reference IDs for individual objectives. | string | minLength: 4 maxLength: 36 |
| ㅤ↳workflow | Workflow ID. | string | minLength: 1 maxLength: 64 |
| ㅤ↳next
| Definition of what is next after this stop | array | |
| ㅤㅤㅤ↳code | Event or Reason code | string | minLength: 4 maxLength: 36 |
| ㅤㅤㅤ↳nextObjective
| Reference id for individual objectives or END for last state | string | minLength: 4 maxLength: 36 |
This is required.*



HTTP Status Code Summary
| Code | Description |
| --- | ---- |
|
200 - OK | Everything worked as expected. |
|
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. |
|
401 - Unauthorized** | No valid API key provided. |

Language
URL
Click Try It! to start a request and see the response here!