Skip to main content
The SentFromAI API is organized around REST: predictable resource URLs, JSON request and response bodies, and standard HTTP status codes.

Base URL

Authentication

Product requests require a Bearer API key. The exception is POST /agent-signups, which bootstraps the first key when agent signup is enabled:
Create and revoke keys in the dashboard. See Authentication for details.

Conventions

  • JSON everywhere — send Content-Type: application/json; responses are JSON.
  • IDs are opaque strings; don’t parse them.
  • Timestamps are ISO-8601 UTC.
  • Errors use standard status codes with an { "error": "…" } body — see Error handling.
  • Idempotency — pass a client_id on sends. Agent signup instead requires a securely saved Idempotency-Key header; see agent setup.
The endpoints in this section are generated from our OpenAPI spec — use the Try it panel to call them live with your key.