V1 / Brands / Index
List brands
List brands in the current space. Session-authenticated (dashboard login); pass ?public=true to list public brands anonymously. For API-key access use the MCP server (list_brands).
V1 / Brands / Index
List brands
List brands in the current space. Session-authenticated (dashboard login); pass ?public=true to list public brands anonymously. For API-key access use the MCP server (list_brands).
GET
/api/v1/brands/indexQuery / Path parameters
| Name | In | Required | Description |
|---|---|---|---|
| page | query | No | Page number (default 1) |
| perPage | query | No | Items per page (default 50) |
| public | query | No | "true" to list public brands without auth |
Responses
200
JSON { list, count, pagesCount } of brands
401
Not logged in (when public is not set)
Request
curl -X GET "https://bannx.com/api/v1/brands/index" \
-H "Authorization: Bearer YOUR_API_TOKEN"Response
// JSON { list, count, pagesCount } of brands
{
"success": true,
"data": { ... }
}