---
title: "Bulk dispatch exceptions"
method: POST
path: "/v1/exceptions/bulk/dispatch"
tags: ["Exception"]
---

# Bulk dispatch exceptions

`POST /v1/exceptions/bulk/dispatch`

Use this endpoint to dispatch multiple exceptions to an external system in a single operation. You can dispatch up to 100 exceptions at a time.

## Headers

- `X-Request-Id` string
- `X-Idempotency-Key` string

## Request body

- BulkDispatchRequest — Request payload for bulk dispatching exceptions
  - `exceptionIds` string[], required — List of exception IDs to dispatch (maximum 100)
  - `targetSystem` string, required — Target external system
  - `queue` string — Target queue within the external system

## Response `200`

Bulk operation completed (check response for partial failures).

The response includes the `X-Idempotency-Replayed` header.

If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.

See [Retries and idempotency](/en/reference/retries-idempotency) for more details.

- BulkActionResponse — Response from a bulk operation with success and failure details
  - `succeeded` string[] — List of exception IDs that were processed successfully
  - `failed` BulkFailure[] — List of failures with exception IDs and error messages
    - `exceptionId` string — The exception ID that failed
    - `error` string — Error message describing the failure
  - `total` integer — Total number of exceptions in the request

## Other responses

- `400` — The request contains invalid parameters or payload.
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
