Skip to main content

List Gallery Categories

Return the available filter values you can pass to Browse Gallery — types, seasons, features, and industries. Use the id of each entry as a filter value.

Endpoint

GET /templates/gallery/categories

Response

{
"types": [
{ "id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a", "name": "Newsletter" },
{ "id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6b", "name": "Promotional" }
],
"seasons": [
{ "id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6c", "name": "Winter" }
],
"features": [
{ "id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6d", "name": "Hero Image" },
{ "id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6e", "name": "Coupon" }
],
"industries": [
{ "id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6f", "name": "E-commerce" }
]
}
FieldTypeDescription
typesobject[]Available template_types filter values.
seasonsobject[]Available template_seasons filter values.
featuresobject[]Available template_features filter values.
industriesobject[]Available template_industries filter values.

Each entry is { id: string, name: string }. The id is the value you pass to the corresponding filter on Browse Gallery.


Examples

curl "https://api.arsel.sa/v1/templates/gallery/categories" \
-H "Authorization: Bearer be_your_api_key"