> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger warranty workflow

> Success

### Request body

`WarrantyTriggerInput`

**brand\_id** `string (uuid)` *required*

**ticket\_id** `string` *required*

**request\_id** `string (uuid)`

### Response

`StartWorkflowResponse`

**workflow\_id** `string` *required*

**run\_id** `string`

### Status codes

| Code | Meaning |
| - | - |
| `200` | Success |
| `400` | Validation error |
| `401` | Unauthorized |
| `404` | Not found |
| `429` | Rate limited |
| `500` | Internal error |

```bash cURL theme={null}
curl --request POST \
  --url 'https://api.workstream.stateset.com/v1/workflows/warranty-automation-v2/trigger' \
  --header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "ticket_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'
```

```json 200 theme={null}
{
  "workflow_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.