API

API overview

The Seal Static API lets you interact with your projects programmatically.

Base URL

All API endpoints start with https://sealstatic.com/api/.

Authentication

Most API endpoints require authentication via a Bearer token in the Authorization header:

Authorization: Bearer <your-api-key>

There are two types of API keys:

  • Workspace API key; access to all projects in your workspace
  • Project API key; access to a single project (returned when you create a project via the API)

Find your API keys in the project settings dashboard.

Content type

All API endpoints expect and return JSON. Set the Content-Type: application/json header for requests that include a body.

File upload endpoints use multipart/form-data.

Response format

Successful responses return a JSON object with a status: "ok" field. Errors return an appropriate HTTP status code and a JSON object with an error field describing the problem.

Rate limiting

API endpoints are rate limited. Exceeding the limit returns a 429 Too Many Requests response.