# 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. ### 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. ## Servers - Production server: https://integrationhub.adra.com (Production server) ## Authentication methods - Adra personal access token & Adra oauth code pkce & Adra oauth client cred ## Parameters ### Headers - **x-gw-stloc-hint** (string) Optional HTTP header to optimize request routing and reduce latency. Possible values: EUWE-01 (West Europe), AUEA-01 (Australia East), USEA-01 (East US), NO01 (Norway East). ### Path parameters - **engagementSid** (string) Short identifier for engagement (as in URLs) - **inboundFileCategory** (string) Specifies the category of the inbound file for status checking. Only a subset of inbound file categories support status checking. - **uniqueFileName** (string) The name of the file ## Responses ### 200 Success #### Body: application/json (object) - **uniqueFileName** (string) - **status** (string) - **submittedTime** (string(date-time)) - **finishedTime** (string(date-time) | null) ### 400 Bad Request: see problem details for more information #### Body: application/problem+json (object) - **type** (string | null) - **title** (string | null) - **status** (integer(int32) | null) - **detail** (string | null) - **instance** (string | null) ### 401 Unauthorized: Missing an authorization header or token, or the token has expired #### Body: application/problem+json (object) - **type** (string | null) - **title** (string | null) - **status** (integer(int32) | null) - **detail** (string | null) - **instance** (string | null) ### 403 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 #### Body: application/problem+json (object) - **type** (string | null) - **title** (string | null) - **status** (integer(int32) | null) - **detail** (string | null) - **instance** (string | null) ### 500 Internal Server Error #### Body: application/problem+json (object) - **type** (string | null) - **title** (string | null) - **status** (integer(int32) | null) - **detail** (string | null) - **instance** (string | null) ### default Error #### Body: application/problem+json (object) - **type** (string | null) - **title** (string | null) - **status** (integer(int32) | null) - **detail** (string | null) - **instance** (string | null) [Powered by Bump.sh](https://bump.sh)