Skip to main content
GET
/
api
/
v1
/
categories
List categories
curl --request GET \
  --url https://sacra.com/api/v1/categories/ \
  --header 'Authorization: <api-key>'
{
  "categories": [
    {
      "id": 31,
      "name": "design",
      "slug": "design"
    },
    {
      "id": 13,
      "name": "b2b",
      "slug": "b2b"
    },
    {
      "id": 32,
      "name": "online whiteboard",
      "slug": "online-whiteboard"
    }
  ]
}

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

Fully qualified company domain (e.g. figma.com). Required if company_id and slug are not given.

company_id
string

Company ID (e.g. 101). Required if company_domain and slug are not given.

slug
string

Category slug to look up directly (e.g. design).

Response

categories
object[]
required