Get Categories

get/v1/categories/{category_id}

Fetches a single categorie by its public id within the active workspace. Read only, no side effects. Returns 404 when the id is unknown or falls outside the caller's workspace scope.

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
category_idstring <uuid>YesPublic UUID of the categorie.e.g. f2a3b4c5-0000-4000-8000-0000000000ac

Query parameters

NameTypeRequiredDescription
workspaceIdstring <uuid>NoExplicit workspace scope. The authenticated user must hold an active membership in this workspace. Defaults to the session workspace when omitted.e.g. a1b2c3d4-0000-4000-8000-000000000001

Request

cURL
curl -X GET https://api.wellapp.ai/v1/categories/{category_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

200The requested categorie.

{
  "data": {
    "type": "category",
    "id": "f2a3b4c5-0000-4000-8000-0000000000ac",
    "attributes": {
      "category_id": "f2a3b4c5-0000-4000-8000-0000000000ac",
      "name": "Cloud and AI infrastructure",
      "category_type": "transaction",
      "created_at": "2026-01-12T18:08:00Z",
      "updated_at": "2026-01-12T18:08:00Z",
      "deleted_at": null
    }
  }
}

401Unauthorized

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404Not found

{
  "code": "NOT_FOUND",
  "status": 404,
  "title": "Not Found",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}