Skip to content

Retrieve email style

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/account/templates/email_style

Costs 1 rate-limit point · Rate limits

The look every STOQ email shares, back-in-stock and preorder alike: font, header and description text sizes, logo size, and logo_url (the uploaded logo, null when there is none). The template editor sets these for every template at once.

Also searched asemail styleemail fontemail text sizeemail logo sizeemail logo

Errors

401

Missing or invalid X-Auth-Token.

422

The request failed validation.

429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check Retry-After.

Every error has the same shape: see Errors.

GET/account/templates/email_style
curl "https://app.stoqapp.com/api/v2/external/account/templates/email_style" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body