Skip to main content
POST
/
v1
/
exceptions
/
{exceptionId}
/
dispatch
Dispatch exception to external system
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/exceptions/{exceptionId}/dispatch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "targetSystem": "JIRA",
  "queue": "RECON-TEAM"
}
'
{
  "acknowledged": true,
  "dispatchedAt": "2025-01-15T10:30:00.000Z",
  "exceptionId": "550e8400-e29b-41d4-a716-446655440000",
  "externalReference": "RECON-1234",
  "target": "JIRA"
}

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

X-Idempotency-Key
string

A unique key to ensure safe retries of the request.

Path Parameters

exceptionId
string
required

Exception ID

Body

application/json

Dispatch payload

Dispatch request payload

targetSystem
enum<string>
required

Target system to dispatch to

Available options:
JIRA,
SERVICENOW,
WEBHOOK,
MANUAL
Maximum string length: 255
Example:

"JIRA"

queue
string

Optional queue or team assignment

Maximum string length: 255
Example:

"RECON-TEAM"

Response

Indicates that the request was successful and the response contains the expected data.

Dispatch result

acknowledged
boolean

Whether the dispatch was acknowledged

Example:

true

dispatchedAt
string

When the dispatch occurred in RFC3339 format

Example:

"2025-01-15T10:30:00.000Z"

exceptionId
string

Exception ID that was dispatched

Example:

"550e8400-e29b-41d4-a716-446655440000"

externalReference
string

External reference ID from target system

Example:

"RECON-1234"

target
string

Target system dispatched to

Example:

"JIRA"