API keys and authentication

Authenticated API requests use an API key in the Authorization header. Create and manage keys while signed in to the developer portal; do not embed them in public browser code.

Create a key

  1. Open API keys and sign in.
  2. Click Create API key.
  3. Give the integration a recognizable name and select only the required permissions.
  4. Choose an expiry. The dialog offers 30 days, 90 days, 1 year or No expiry; 90 days is the initial choice.
  5. Create the key and copy the secret while it is shown. Store it in a server environment variable or secret manager.
curl https://splatware.com/api/v1/datasets/DATASET_ID \
  -H "Authorization: Bearer $SPLATWARE_API_KEY"

Replace DATASET_ID with a dataset created by your account. The key is not shown again after you dismiss the creation dialog.

Permissions

ScopeAllows
training:readRead your datasets, training status, subscription role and current usage.
training:writeCreate datasets and upload sessions, finalize uploads, start training and manage webhooks.
captures:readRead your own completed Capture metadata. Together with training:read, list and inspect your model projects.

A basic upload-and-poll integration needs both training scopes. Missing permission produces insufficient_scope; creating a key with additional scopes does not grant access to someone else’s resources.

Rotation and expiry

Use Rename to identify an existing integration. To rotate a secret, create a replacement key, update the integration and verify a request, then revoke the old key. Revocation cannot be undone; requests using an expired or revoked key fail with invalid_api_key.

An account can retain up to 100 key records, including revoked keys. If that limit is reached, contact support to archive revoked records rather than repeatedly retrying creation.

Ownership and secrets

Upload URLs are credentials too
The API key, webhook signing secret and resumable upload URLs all need private storage. The upload URL already authorizes its storage operation: send file bytes to that URL without forwarding your Splatware API key.

Keep example state files private because they contain upload sessions. Do not paste credentials or full session URLs into documentation screenshots or support messages. Report the request ID and stable error code instead. See Errors and retries.

API keys and authentication – Developers | Splatware Docs