Feel free to reach techsupport@surepass.io for any technical support or guidance.
establishment_id, this endpoint queues a background job and returns a client_id that can be used to poll for results once processing is complete.client_id per request, allowing precise status tracking and result retrieval.Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token for authentication. Format: Bearer <JWT_TOKEN> |
Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
establishment_id | String | Yes | The unique EPFO establishment identifier (e.g., DLCPM0001014111). This is the alphanumeric code assigned to a registered employer by EPFO. |
{
"establishment_id": "DLCPM0001014111"
}| Parameter | Type | Description |
|---|---|---|
data | Object | Container object holding the result payload. |
data.client_id | String | Unique identifier for this async job. Use this value to poll the status or retrieve results from the corresponding fetch endpoint. |
data.establishment_id | String | The establishment ID that was submitted in the request, echoed back for confirmation. |
data.status | String | Current processing state of the async job. Returns "pending" on successful initialization, indicating the background job has been queued. |
status_code | Integer | HTTP-equivalent status code for the API response (e.g., 200 for success). |
success | Boolean | Indicates whether the request was accepted and queued successfully. true means the async job was initialized. |
message | String | Human-readable description of the response outcome (e.g., "Success"). |
message_code | String | Machine-readable code corresponding to the response message (e.g., "success"). Useful for programmatic handling of response states. |
{
"data": {
"client_id": "establishment_details_async_oNNiOnwngacfhtyycnsw",
"establishment_id": "DLCPM0001014111",
"status": "pending"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Authentication credentials were not provided or are invalid.",
"message_code": "unauthorized"
}Authorization header is missing, malformed, or the JWT token is expired or invalid. Ensure you are passing a valid Bearer token for the correct environment (sandbox vs. production).client_id returned from this endpoint immediately and persistently — it is required to retrieve the result from the corresponding fetch/status endpoint.pending gracefully: A "status": "pending" response is expected and normal; build your UI or workflow to inform users that processing is underway.client_id and establishment_id together for each request to simplify debugging and support tracing.client_id returned from this endpoint to retrieve the completed establishment details once the async job status moves from pending to a terminal state.client_id.establishment_id queried to support regulatory audits and internal compliance reviews.curl --location 'https://kyc-api.surepass.app/api/v1/epfo-async/establishment-details/initialize' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"establishment_id": "DLCPM0001014111"
}'{
"data": {
"client_id": "establishment_details_async_oNNiOnwngacfhtyycnsw",
"establishment_id": "DLCPM0001014111",
"status": "pending"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}