GET /api/v2/account/buyers
Returns a paginated list of buyer participants registered for a given event. Only accounts assigned to a buyer category are returned.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
GET /api/v2/account/buyers
Query Parameters
|
Parameter |
Type |
Required |
Default |
Accepted Values / Format |
Description |
|---|---|---|---|---|---|
|
|
integer |
Yes |
— |
Valid event ID |
The event to retrieve buyer participants for |
|
|
integer |
No |
|
1–100 |
Number of results per page. Capped at |
|
|
integer |
No |
|
Any positive integer |
Page number (1-based) |
Response
Success Response (HTTP 200)
{
"code": 200,
"errors": null,
"data": {
"list": [ { ...account object... } ],
"limit": 100,
"page": 1,
"total": 42
},
"response_id": "1700000000.12345"
}
|
Field |
Type |
Description |
|---|---|---|
|
|
array |
Array of full participant profile objects |
|
|
integer |
The page size used |
|
|
integer |
The current page number |
|
|
integer |
Total number of buyer participants for this event |
Each object in list contains the same full profile fields as GET /api/v2/account/get.
Error Responses
|
HTTP Code |
Condition |
Error Message |
|---|---|---|
|
400 |
|
|
|
400 |
|
|
|
400 |
Event not found |
|
|
403 |
Missing or invalid API key |
|
Example Request
curl -X GET "https://your-event-domain.com/api/v2/account/buyers?event_id=7&limit=50&page=1" \
-H "Authorization: Bearer your_api_key_here"
Example Response
{
"code": 200,
"errors": null,
"data": {
"list": [
{
"id": 12345,
"status": "ACTIVE",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com",
"company_name": "Acme Corp",
"category_id": 8,
"category_name": "Buyer"
}
],
"limit": 50,
"page": 1,
"total": 1
},
"response_id": "1700000000.12345"
}