Skip to main content
GET
/
api
/
workspace
/
{workspaceId}
/
brands
List brands
curl --request GET \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/brands \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "brand_1a2b3c",
      "workspace_id": "ws_1a2b3c4d",
      "name": "Premium Goods",
      "slug": "premium-goods",
      "logo_url": "https://cdn.alana.shopping/brands/brand_1a2b3c/logo.png",
      "description": "High-end product line",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-02-10T14:22:00Z"
    }
  ],
  "pagination": {
    "limit": 50,
    "has_more": false
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string

Response

Brands retrieved successfully

data
object[]
pagination
object