---
title: "Create new job"
method: POST
path: "/v1/workflows/{workflowId}/queue"
---

# Create new job

`POST /v1/workflows/{workflowId}/queue`

## Request

- Base URL: `https://api.hystruct.com`
- URL: `https://api.hystruct.com/v1/workflows/{workflowId}/queue`
- Auth: API key in header `x-api-key`

Create and queue a new job to run for the workflow

## Path parameters

- `workflowId` string, required

## Response `200`

Successful response

- object: Successful response
  - `message` string

## Other responses

- `400`: Bad request - perhaps because there is already a job queued
- `404`: No workflow found

---

[API](https://skmtc.dev/hystruct/apis/hystruct-api.md) · [All operations](https://skmtc.dev/hystruct/apis/hystruct-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hystruct/apis/hystruct-api/revisions/29f66c13ba02?raw)
