Get request status
curl --request POST \
--url https://ebrcapi.eximfiles.io/api/v1/genebrc/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"platformCustomerId": "ee849a90-7a28-49b4-8cb2-8e31041650a2",
"requestId": "IEC1234560120240001ABCDE12345"
}
'import requests
url = "https://ebrcapi.eximfiles.io/api/v1/genebrc/status"
payload = {
"platformCustomerId": "ee849a90-7a28-49b4-8cb2-8e31041650a2",
"requestId": "IEC1234560120240001ABCDE12345"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
platformCustomerId: 'ee849a90-7a28-49b4-8cb2-8e31041650a2',
requestId: 'IEC1234560120240001ABCDE12345'
})
};
fetch('https://ebrcapi.eximfiles.io/api/v1/genebrc/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ebrcapi.eximfiles.io/api/v1/genebrc/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'platformCustomerId' => 'ee849a90-7a28-49b4-8cb2-8e31041650a2',
'requestId' => 'IEC1234560120240001ABCDE12345'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ebrcapi.eximfiles.io/api/v1/genebrc/status"
payload := strings.NewReader("{\n \"platformCustomerId\": \"ee849a90-7a28-49b4-8cb2-8e31041650a2\",\n \"requestId\": \"IEC1234560120240001ABCDE12345\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ebrcapi.eximfiles.io/api/v1/genebrc/status")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"platformCustomerId\": \"ee849a90-7a28-49b4-8cb2-8e31041650a2\",\n \"requestId\": \"IEC1234560120240001ABCDE12345\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ebrcapi.eximfiles.io/api/v1/genebrc/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"platformCustomerId\": \"ee849a90-7a28-49b4-8cb2-8e31041650a2\",\n \"requestId\": \"IEC1234560120240001ABCDE12345\"\n}"
response = http.request(request)
puts response.read_body{
"dgftAckId": "ACK202404010001",
"requestId": "IEC1234560120240001ABCDE12345",
"recordResCount": 1,
"recordProCount": 1,
"recordFailCount": 0,
"processingStatus": "Processed",
"ebrcBulkGenStatusLst": [
{
"serialNo": "1",
"irmNumber": "IRM0000012345",
"irmDt": "01042024",
"iecNumber": "0123456789",
"sbCumInvoiceNumber": "SB7654321",
"sbCumInvoiceDate": "15032024",
"portCode": "INMAA1",
"eBRCNumber": "EBRC0000012345",
"billNo": "EXP-2024-0042",
"eBRCDt": "01042024",
"fobFCC": 25000,
"fcc": "USD",
"processingStatus": "Processed",
"errorDetails": []
}
]
}{
"code": "<string>",
"message": "<string>"
}eBRC generation
Get Request Status
Poll the processing status of a submitted eBRC generation request by requestId. In production, acknowledgement typically arrives within about 2 hours of submission.
POST
/
genebrc
/
status
Get request status
curl --request POST \
--url https://ebrcapi.eximfiles.io/api/v1/genebrc/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"platformCustomerId": "ee849a90-7a28-49b4-8cb2-8e31041650a2",
"requestId": "IEC1234560120240001ABCDE12345"
}
'import requests
url = "https://ebrcapi.eximfiles.io/api/v1/genebrc/status"
payload = {
"platformCustomerId": "ee849a90-7a28-49b4-8cb2-8e31041650a2",
"requestId": "IEC1234560120240001ABCDE12345"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
platformCustomerId: 'ee849a90-7a28-49b4-8cb2-8e31041650a2',
requestId: 'IEC1234560120240001ABCDE12345'
})
};
fetch('https://ebrcapi.eximfiles.io/api/v1/genebrc/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ebrcapi.eximfiles.io/api/v1/genebrc/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'platformCustomerId' => 'ee849a90-7a28-49b4-8cb2-8e31041650a2',
'requestId' => 'IEC1234560120240001ABCDE12345'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ebrcapi.eximfiles.io/api/v1/genebrc/status"
payload := strings.NewReader("{\n \"platformCustomerId\": \"ee849a90-7a28-49b4-8cb2-8e31041650a2\",\n \"requestId\": \"IEC1234560120240001ABCDE12345\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ebrcapi.eximfiles.io/api/v1/genebrc/status")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"platformCustomerId\": \"ee849a90-7a28-49b4-8cb2-8e31041650a2\",\n \"requestId\": \"IEC1234560120240001ABCDE12345\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ebrcapi.eximfiles.io/api/v1/genebrc/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"platformCustomerId\": \"ee849a90-7a28-49b4-8cb2-8e31041650a2\",\n \"requestId\": \"IEC1234560120240001ABCDE12345\"\n}"
response = http.request(request)
puts response.read_body{
"dgftAckId": "ACK202404010001",
"requestId": "IEC1234560120240001ABCDE12345",
"recordResCount": 1,
"recordProCount": 1,
"recordFailCount": 0,
"processingStatus": "Processed",
"ebrcBulkGenStatusLst": [
{
"serialNo": "1",
"irmNumber": "IRM0000012345",
"irmDt": "01042024",
"iecNumber": "0123456789",
"sbCumInvoiceNumber": "SB7654321",
"sbCumInvoiceDate": "15032024",
"portCode": "INMAA1",
"eBRCNumber": "EBRC0000012345",
"billNo": "EXP-2024-0042",
"eBRCDt": "01042024",
"fobFCC": 25000,
"fcc": "USD",
"processingStatus": "Processed",
"errorDetails": []
}
]
}{
"code": "<string>",
"message": "<string>"
}Check processing status for a previously submitted generation request, using the
Per-record status in
requestId returned by Submit IRMs or Bulk Upload.
Available in Production and Sandbox. In Production, acknowledgement typically arrives within about 2 hours; polling earlier may return an incomplete or unchanged status.
Request body example
{
"platformCustomerId": "ee849a90-7a28-49b4-8cb2-8e31041650a2",
"requestId": "IEC1234560120240001ABCDE12345"
}
Response example
The per-record results come back inebrcBulkGenStatusLst (field name as returned on the wire):
{
"success": true,
"data": {
"dgftAckId": "ACK202404010001",
"requestId": "IEC1234560120240001ABCDE12345",
"recordResCount": 1,
"recordProCount": 1,
"recordFailCount": 0,
"processingStatus": "Processed",
"ebrcBulkGenStatusLst": [
{
"serialNo": "1",
"irmNumber": "IRM0000012345",
"irmDt": "01042024",
"iecNumber": "0123456789",
"sbCumInvoiceNumber": "SB7654321",
"sbCumInvoiceDate": "15032024",
"portCode": "INMAA1",
"eBRCNumber": "EBRC0000012345",
"billNo": "EXP-2024-0042",
"eBRCDt": "01042024",
"fobFCC": 25000,
"fcc": "USD",
"processingStatus": "Processed",
"errorDetails": []
}
]
},
"statusCode": 200,
"timestamp": "2026-07-22T12:40:00.000Z"
}
processingStatus values
| Value | Meaning |
|---|---|
Processed | All records processed successfully |
Errored | Processing failed, see errorDetails |
ebrcBulkGenStatusLst[].processingStatus uses the same values.
Next steps
- Fetch eBRC details once processed.
- Download the certificate PDF with the
eBRCNumber. - List generation requests to find older request IDs.
Authorizations
Response
Request processing status
Overall request processing status
Available options:
Processed, Errored Per-record generation status (field name as returned on the wire).
Show child attributes
Show child attributes
⌘I