Endpoint for getting the status for inbound files

GET /api/v3.0/{engagementSid}/files/{inboundFileCategory}/{uniqueFileName}/status

Check the processing status of a file previously uploaded to Integration Hub. This endpoint allows you to track the progress of file processing.

Note: This endpoint will be available in 2025.

Status Flow

Files progress through the following states:

  1. Receiving: Initial upload in progress
  2. Queued: File received and waiting for processing
  3. Processing: File is being validated and processed
  4. WaitingInteraction: Processing paused, waiting for user input
  5. PartiallySucceeded: Some records processed with errors
  6. Succeeded: All records processed successfully
  7. Failed: Processing failed
  8. Discarded: File processing was cancelled or discarded
  9. Unknown: Status cannot be determined

Response Details

Returns a JSON object containing:

  • uniqueFileName: The file identifier
  • status: Current processing state
  • submittedTime: When the file was uploaded
  • finishedTime: When processing completed (null if not finished)

Common Use Cases

  • Polling for completion status
  • Error checking before retry
  • Monitoring processing progress

Best Practices

  • Poll at reasonable intervals
  • Implement exponential backoff
  • Handle all possible status values

Error Responses

  • 404: File not found
  • 403: Insufficient permissions
  • 401: Invalid authentication

Note: Files are typically processed within 5 minutes, depending on size and complexity.

Path parameters

  • engagementSid string Required

    Short identifier for engagement (as in URLs)

  • inboundFileCategory string Required

    Values are BalancerBalanceUpload, BalancerTransactionsUpload, MatcherTransactionUpload, or LegalEntityUpload.

  • uniqueFileName string Required

    The name of the file

Responses

  • 200 application/json

    Success: Response with status

    Hide response attributes Show response attributes object
  • 400 application/json

    Bad Request: see problem details for more information

    Hide response attributes Show response attributes object
  • 401 application/problem+json

    Unauthorized: Missing an authorization header or the token

    Hide response attributes Show response attributes object
  • 403 application/problem+json

    Forbidden: You don't have access to the engagement, the engagement doesn't have IH or you don't have IH access on the engagement

    Hide response attributes Show response attributes object
  • 500 application/problem+json

    Server Error

    Hide response attributes Show response attributes object
GET /api/v3.0/{engagementSid}/files/{inboundFileCategory}/{uniqueFileName}/status
curl \
 -X GET https://integrationhub.adra.com/api/v3.0/{engagementSid}/files/{inboundFileCategory}/{uniqueFileName}/status \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "uniqueFileName": "string",
  "status": "Receiving",
  "submittedTime": "2024-05-04T09:42:00+00:00",
  "finishedTime": "2024-05-04T09:42:00+00:00"
}
Response examples (400)
[
  {
    "type": "string",
    "title": "string",
    "status": 42,
    "detail": "string",
    "instance": "string"
  }
]
Response examples (401)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (403)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (500)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}