List Swatches
This endpoint is part of the Resource APIs project currently in Beta and may change. Requests return 403 until the feature is enabled for your site or workspace.
Lists site owned swatches by siteId.
Authentication
x-api-keystring
API key authentication. Accepts either:
- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)
- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
Query parameters
siteId
The site ID to list swatches from.
limit
The maximum number of swatches to return.
startingAfter
The pagination cursor. This is used to indicate what ID to list from.
Response
object
Allowed values:
data
hasMore
The flag that indicates whether there are more swatches available.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error