Get paginated list of resellers (Owner + Distributor)
Query parameters
-
Page number
Minimum value is
1. Default value is1. -
Items per page
Minimum value is
1, maximum value is100. Default value is20. -
Search term
Minimum length is
1. -
Field to sort resellers by
Values are
name,description,created_at,updated_at, orsuspended_at. -
Sort direction
Values are
ascordesc. Default value isasc. -
Filter organizations by status (enabled = not suspended, blocked = suspended)
Values are
enabledorblocked.
GET
/resellers
curl \
--request GET 'https://api.your-domain.com/api/resellers' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 200,
"message": "resellers retrieved successfully",
"data": {
"resellers": [
{
"id": "4405ffd0-0aca-44ef-bae2-c8545bce94f4",
"logto_id": "akkbs6x2wo82",
"name": "ACME Distribution SpA",
"description": "Main distributor for Italian and Swiss markets",
"custom_data": {
"email": "contact@acme-distribution.com",
"region": "Italy",
"contactPerson": "John Smith"
},
"suspended_at": "2026-05-04T09:42:00Z",
"suspended_by_org_id": "string",
"rebranding_enabled": false,
"rebranding_org_id": "string"
}
],
"pagination": {
"page": 1,
"page_size": 20,
"total_count": 156,
"total_pages": 8,
"has_next": true,
"has_prev": false,
"next_page": 2,
"prev_page": 42,
"sort_by": "name",
"sort_direction": "asc"
}
}
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}