Skip to main content
GET
/
api
/
v1
/
documents
List documents
curl --request GET \
  --url https://sacra.com/api/v1/documents/ \
  --header 'Authorization: <api-key>'
{
  "documents": [
    {
      "id": 1835,
      "slug": "owner",
      "title": "Owner One-Pager",
      "link": "https://sacra-pdfs.s3.us-east-2.amazonaws.com/owner.pdf",
      "web_url": "https://sacra.com/c/owner/",
      "type": "company",
      "date": "2026-01-13",
      "published_at": "2026-01-13",
      "created_at": "2025-03-10T20:42:33.911Z",
      "updated_at": "2026-01-13T21:01:20.492Z",
      "preview_meta": {
        "title": "Owner",
        "image": "https://images.prismic.io/sacra/Z89OKRsAHJWomTQV_owner_logo.jpeg?auto=format,compress",
        "description": "Software suite for restaurants to manage online ordering, websites, marketing, and loyalty"
      },
      "companies": [
        {
          "id": 1486,
          "domain": "owner.com",
          "relation": "subject"
        }
      ]
    }
  ],
  "pagination": {
    "page_size": 30,
    "current_page_items": 1,
    "total_items": 1,
    "next_link": null,
    "prev_link": null,
    "after_cursor": "Start",
    "before_cursor": null
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.sacra.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using one of two formats:

  • Organization/user token: Token <your-token>
  • Stytch JWT: Bearer <your-jwt>

Query Parameters

company_domain
string

Company domain to filter by (e.g. stripe.com).

company_id
string

Company ID to filter by.

created_at_gte
string

ISO 8601 lower bound for created_at (inclusive).

created_at_lte
string

ISO 8601 upper bound for created_at (inclusive).

page_after
string

Cursor ID for forward pagination. Cannot combine with page_before.

page_before
string

Cursor ID for backward pagination. Cannot combine with page_after.

page_size
integer

Items per page, 1-100. Default 30. Only for global queries.

updated_at_gte
string

ISO 8601 lower bound for updated_at (inclusive). Recommended for daily polling.

updated_at_lte
string

ISO 8601 upper bound for updated_at (inclusive). Recommended for daily polling.

Response

documents
object[]
required
pagination
object

Only present in global queries. Null when no results.