---
title: "Trigger task callback"
method: POST
path: "/api/v1/initiate_callback"
tags: ["task_details"]
---

# Trigger task callback

`POST /api/v1/initiate_callback`

Accepts the task result for delivery to the configured callback URLs and returns without waiting for them. Delivery retries with exponential backoff for up to 5 minutes per URL. Returns immediately if no callback URL is set.

## Headers

- `x-api-key` string, required

## Request body

- BodyInitiateCallbackApiV1InitiateCallbackPost
  - `task_id` string, required
  - `endpoint_name` string, required
  - `callback_url` CallbackUrl
    - `url` string, required
    - `api_key` string, nullable
    - `username` string, nullable
    - `password` string, nullable
  - `task_callback_url` string, nullable
  - `task_callback_api_key` string, nullable

## Response `200`

Successful Response

- CallbackStatusResponse
  - `success` boolean, required
  - `status` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-26** `653b9ca575a8` — 1 breaking, 2 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the required property `status` to the response with the `200` status
  - added the required property `success` to the response with the `200` status

[Change history](https://skmtc.dev/optexity/apis/dashboard-backend-api/changes/api/v1/initiate_callback/post.md)

---

[API](https://skmtc.dev/optexity/apis/dashboard-backend-api.md) · [All operations](https://skmtc.dev/optexity/apis/dashboard-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optexity/dashboard-backend-api/revisions/2e974096944a/schema)
