---
title: "Get callback payload"
method: POST
path: "/api/v1/get_callback_data"
tags: ["task_details"]
---

# Get callback payload

`POST /api/v1/get_callback_data`

Returns the full task result payload in the same shape sent to callback URLs.

## Headers

- `x-api-key` string, required

## Request body

- BodyGetCallbackDataApiV1GetCallbackDataPost
  - `task_id` string, required
  - `endpoint_name` string, required

## Response `200`

Successful Response

- GetCallbackDataResponse
  - `success` boolean, required
  - `data` CallbackDataItem
    - `task_id` string, required
    - `recording_id` string, required
    - `output_data` unknown
    - `error` string, nullable
    - `status` 'queued' | 'allocated' | 'running' | 'success' | 'failed' | 'cancelled' | 'killed', required
    - `final_screenshot` string, nullable
    - `endpoint_name` string, required
    - `downloads` unknown[], nullable
      - unknown
    - `input_parameters` object, nullable
    - `unique_parameter_names` string[], nullable

## 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 optional property `data` 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/get_callback_data/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/653b9ca575a8/schema)
