Eligibles
Enqueue a bulk creation of eligible employees
Changed onThis only enqueues the operation — a successful response does not mean the items were processed. Check the real outcome with GET /api/v1/operations/{id}.
Creates multiple eligible employees in the company group asynchronously. Each item associates an employee to a specific company with optional additional info. Maximum of 200 items per request.
post/api/v1/eligibles/bulk_create
Request
- Base URLhttps://company-eligibles-api.totalpass.com
- URLhttps://company-eligibles-api.totalpass.com/api/v1/eligibles/bulk_create
- AuthHTTP bearer
Request body
Example request
{
"source": "hr-system",
"data": [
{
"eligible_identifier": "12345678901",
"company_identifier": "12345678000195",
"additional_info": {
"full_name": "John Doe",
"email": "john@example.com",
"phone_number": "11999999999",
"optional_identifier": "12131"
}
}
]
}Response
Operation enqueued successfully — this does not indicate the items were processed; poll GET /api/v1/operations/{id} for the result.
Example response
{
"id": 42,
"created_at": "2026-05-21T10:00:00.000Z",
"status": "pending"
}Changes
- info
added the new optional request property
///
- info