SEO for SaaS
Start
API reference

Authentication

Content keys, the project ID, and where to find both.

Every request carries a content key as a bearer token:

text
Authorization: Bearer sfs_content_…
ValueWhereNotes
Project IDDelivery → ConnectionPart of every URL: /api/v1/projects/{projectId}/content. Not a secret.
Content keyDelivery → Content API keys → Create keyShown once. Read-only, one project, published articles only. A secret.
API URLDelivery → Connectionhttps://api.seoforsaas.dev

A content key only reads its own project's published articles. The API refuses another project, any write, or any other endpoint with 403, and returns a draft as a missing article, 404. Keep the key on the server anyway: anyone who has it can use up your rate limit.

  • Create one key per site or environment, so you can revoke one without touching the others.

  • A revoked key gets 401 everywhere within about a minute.