Skroll API: Brands

3 endpoints for working with brands.

List brands

get/brandslist_brands

Lists the organization's brands. A brand is optional when creating a skroll; use a brand id only when the skroll should follow a captured brand book.

Example request

curl
curl -X GET https://skrollai.com/api/v1/brands \
  -H "Authorization: Bearer sk_..."

Responses

200Brands, newest first

Array of Brand

FieldTypeDescription
id*string (uuid)n/a
name*stringn/a
sourceUrl*stringWebsite the brand was extracted from
createdAt*string (date-time)n/a
updatedAt*string (date-time)n/a
401Missing, malformed, unknown or revoked credentials
403The key's creator lacks access
422Input failed validation
429Rate limit exceeded. See the Retry-After header
500Unexpected server error

Get a brand

get/brands/{id}get_brand

Returns a brand including its full brand book (palette, typography, voice, imagery).

Example request

curl
curl -X GET https://skrollai.com/api/v1/brands/0b1e0f7c-1c3f-4a0e-9f5a-1a2b3c4d5e6f \
  -H "Authorization: Bearer sk_..."

Parameters

ParameterInTypeDescription
id*pathstring (uuid)n/a

Responses

200The brand
401Missing, malformed, unknown or revoked credentials
403The key's creator lacks access
404Resource not found
422Input failed validation
429Rate limit exceeded. See the Retry-After header
500Unexpected server error

Delete a brand

delete/brands/{id}delete_brand

Deletes a brand. Fails with 409 if any skroll still uses it.

Example request

curl
curl -X DELETE https://skrollai.com/api/v1/brands/0b1e0f7c-1c3f-4a0e-9f5a-1a2b3c4d5e6f \
  -H "Authorization: Bearer sk_..."

Parameters

ParameterInTypeDescription
id*pathstring (uuid)n/a

Responses

200Deleted

Deleted

FieldTypeDescription
deleted*truen/a
401Missing, malformed, unknown or revoked credentials
403The key's creator lacks access
404Resource not found
409Brand is still used by existing skrolls
422Input failed validation
429Rate limit exceeded. See the Retry-After header
500Unexpected server error