---
title: "Complete a waiting step with a result"
method: POST
path: "/durable-callbacks/succeed"
tags: ["Durable Functions"]
---

# Complete a waiting step with a result

`POST /durable-callbacks/succeed`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/durable-callbacks/succeed`
- Auth: none required

Resumes the workflow step waiting on the token with `result`. Call it
from the system the workflow handed the token to.

The token is the only credential. A token takes one outcome: once it
has succeeded or failed, every later request is refused with
`409 callback_completed`, including a retry of the request that
succeeded it.

## Request body

- SucceedDurableCallbackRequest
  - `token` string, required: The `vcb_` token the workflow handed out. It is the only credential the callback operations take, so treat it as a secret.
  - `result` unknown, required

## Response `200`

The workflow has the result

- DurableCallbackOutcome
  - `status` 'waiting' | 'delivering' | 'succeeded' | 'failed', required: `waiting` until the token is succeeded or failed. `delivering` while the outcome is on its way to the workflow; Volcano finishes the delivery on its own. `succeeded` or `failed` once the workflow has the outcome.

## Other responses

- `202`: The result is recorded and on its way to the workflow, which takes longer than this request waits. Volcano finishes the delivery; do not send it again.
- `400`: The token is missing or malformed, or `result` is missing, null, not JSON, or larger than 64 KiB
- `404`: No callback has this token. `code` is `callback_not_found`.
- `409`: The token already has an outcome. `code` is `callback_completed`.
- `410`: The workflow no longer waits on the token. `code` says why: - `callback_expired`: the step timed out, on its own timeout or its heartbeat timeout. - `execution_ended`: the execution finished or stopped.
- `413`: The request body is larger than 72 KiB
- `429`: Too many callback requests for the token or its project. Retry later.

## Changes

- **2026-10-23** `5113707385cc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/durable-callbacks/succeed/post.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
