Skip to main content
The Sapient API authenticates every request with a Bearer token. Your secret key starts with sk_live_ and must be sent in full in the Authorization header.

Get a key

  1. Sign in at thesapientcompany.com and open Settings → API. A paid plan (Pro at $149/mo or higher) is required to create a key; API usage itself is pay-as-you-go on top. See pricing.
  2. Click Create key. The full secret (starting sk_live_) is shown once — copy the entire value now, not the truncated sk_live_… preview.
  3. Send it as a Bearer token on every request.
Test keys start with sk_test_. Secrets are never recoverable. If you lose a key, revoke it in the portal and mint a new one.

Authorization header