Skip to main content

Base URL

All product endpoints live under /v1. Requests and responses are JSON.

API keys

SentFromAI authenticates with a Bearer API key. Create and revoke keys from the dashboard under API keys. A key looks like:
Pass it on every request:
Keys grant full access to your workspace’s inboxes and mail. Never ship a key in client-side code or commit it to source control. Store it in an environment variable or a secrets manager.

Key management

  • Multiple keys per workspace — issue a separate key per service or environment.
  • Rotate freely — create a new key, roll it out, then revoke the old one. Revocation is instant.
  • Last-used tracking — the dashboard shows when each key was last seen, so stale keys are easy to spot.

Errors

A missing or invalid key returns 401:
See Error handling for the full list of status codes.