Skip to content

API reference

The Design API: addresses, authentication, errors and limits.

Applies to EngineCloud
View as Markdown
On this page
  1. Authentication
  2. Errors

API: https://design.api.sypnia.com/v1 Cloud, or your engine’s address Engine.

Authentication

Authorization: Bearer <session or token>. Tokens belong to a project and have scopes: read (guide, gallery, screens, checks), write (drafts, proposals, renders, exports, uploads), admin (tokens and the repository link). Approving a proposal or a screen needs a person’s session; a token gets 403 person_required.

Errors

JSON
{ "error": { "code": "contrast_failed", "message": "color.ink-quiet on color.surface is 3.9:1; text needs 4.5:1." } }
StatusCodes
400invalid_request, invalid_file
401unauthorized
402insufficient_credits
403forbidden, person_required
404not_found
409conflict, out_of_date (the guide moved on since your proposal)
413too_large
415type_not_allowed
422check_failed, contrast_failed, unsafe_svg, font_licence_missing
429rate_limited (with retry-after)

Limits are on Limits.

  • Endpoints

    Guide, proposals, assets, icons, gallery, screens, renders, exports, checks and tokens.

  1. Authentication
  2. Errors

    Search pages, sections and terms