GET
/
batch_processes
/
{id}
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/company/batch_processes/{id} \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
{
  "id": 8,
  "status": "stopped",
  "total": 5,
  "selected_total": 5,
  "processed_count": 0,
  "failed_count": 0,
  "action_label": "referral/delete",
  "created_at": "2025-03-26T15:15:34.908Z",
  "updated_at": "2025-03-26T15:15:34.908Z",
  "meta": {},
  "progress": 0,
  "processing_errors": []
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Path Parameters

id
integer
required

Batch process id

Response

200
application/json
Successfully retrieved batch process

The response is of type object.