Skip to main content
POST
/
v1
/
exceptions
/
{exceptionId}
/
callback
Process exception callback
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/exceptions/{exceptionId}/callback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalSystem": "JIRA",
  "externalIssueId": "RECON-1234",
  "status": "RESOLVED",
  "callbackType": "status_update",
  "resolutionNotes": "<string>",
  "assignee": "<string>",
  "dueAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "payload": {}
}
'
{
  "status": "accepted"
}

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

The unique identifier of the exception.

Body

application/json

Callback payload from external system

Callback payload from an external system

externalSystem
string
required

Name of the external system sending the callback

Example:

"JIRA"

externalIssueId
string
required

Issue identifier in the external system

Example:

"RECON-1234"

status
string
required

Current status in the external system

Example:

"RESOLVED"

callbackType
string

Type of callback event

Example:

"status_update"

resolutionNotes
string

Notes from the external system resolution

assignee
string

Current assignee in the external system

dueAt
string<date-time>

Due date from the external system

updatedAt
string<date-time>

Last update timestamp from the external system

payload
object

Additional callback data from the external system

Response

Callback processed successfully

Acknowledgement of a processed callback

status
string

Callback processing status

Example:

"accepted"