Async APIsAsync Status Tracking

Async Status Tracking

Poll the status of an async mask or unmask job using a tracking ID, and retrieve results when the job completes.

{
  "status": [
    { "tracking_id": "747027ff-5ce7-4780-8cca-000f908edae721052025073644" }
  ]
}

Fetches the current status of an async job and returns the original input payload, final output (when ready), timestamps, and error details when applicable.

Endpoint

MethodURL
PUT{baseurl}/async-status

Request body

body
statusarray
Required

List of tracking IDs to check status for.

body
status[].tracking_idstring
Required

The tracking ID returned by the async submit endpoint.

Response shapes by status

The job completed successfully. Read the result field for the output.

{
  "data": [
    {
      "tracking_id": "747027ff-5ce7-4780-8cca-000f908edae721052025073644",
      "call_type": "mask",
      "input_payload": { "mask": [ { "token_name": "Person token", "value": "jackson" } ] },
      "result": [ { "token_name": "Person token", "token_value": "Chidi", "value": "jackson" } ],
      "error_msg": null,
      "submitted_time": "2025-05-21 07:36:44",
      "process_start_time": "2025-05-21 07:36:47",
      "completed_time": "2025-05-21 07:36:48",
      "status": "SUCCESS"
    }
  ],
  "success": true,
  "error": { "message": "" }
}

Response fields

tracking_idstring
Required

The job identifier.

call_typestring
Required

Either mask or unmask.

statusstring
Required

Current job state: PENDING, IN-PROGRESS, SUCCESS, FAILED, or PURGED.

resultarray

The masking or unmasking output. Only present when status is SUCCESS.

error_msgstring

Error description. Only present when status is FAILED.

submitted_timestring
Required

Timestamp when the job was submitted.

completed_timestring

Timestamp when the job finished. "None" if still in progress.