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/index

Query / Path parameters

NameInRequiredDescription
pagequeryNoPage number (default 1)
perPagequeryNoItems per page (default 50)
publicqueryNo"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": { ... }
}