Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dacard.ai/llms.txt

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

List the teams the authenticated user belongs to. Returns every team the caller has accepted membership in, regardless of role.
curl -X GET https://app.dacard.ai/api/teams \
  -H "Authorization: Bearer $DACARD_API_KEY"
PropertyValue
AuthRequired (Clerk session or Bearer API key)
Required scopeNone beyond authentication
Rate limitNone on this route
IdempotentYes

Response

{
  "teams": [
    {
      "id": "tm_2x1B3y...",
      "name": "Acme Product",
      "createdAt": "2026-04-12T18:11:43Z"
    }
  ]
}

Errors

StatusCodeWhen
401AUTH_REQUIREDNo session and no Bearer key.
500INTERNAL_ERRORDatabase read failed. Sentry traced.
See Errors for response shape.