curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/return/{workflow_id}/inspection' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"passed": true,
"notes": "Two-person tent, green — replacement for damaged pole set."
}'
Return workflow inspection
Accepted — inspection result signalled to the return workflow.
POST
/
v1
/
workflows
/
return
/
{workflow_id}
/
inspection
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/return/{workflow_id}/inspection' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"passed": true,
"notes": "Two-person tent, green — replacement for damaged pole set."
}'
Path parameters
string (string)
required
Request body
object
boolean
required
string
Response
No response body. Accepted — inspection result signalled to the return workflow.Status codes
| Code | Meaning |
|---|---|
202 | Accepted — inspection result signalled to the return workflow. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/return/{workflow_id}/inspection' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"passed": true,
"notes": "Two-person tent, green — replacement for damaged pole set."
}'
Last modified on August 31, 2026