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.

Get team details and the member list. Caller must be an accepted member. Returns the caller’s role so the client can branch UI on permissions.
curl -X GET https://app.dacard.ai/api/teams/tm_2x1B3y \
  -H "Authorization: Bearer $DACARD_API_KEY"
PropertyValue
AuthRequired
Required scopeCaller must have status: accepted membership
IdempotentYes

Response

{
  "team": {
    "id": "tm_2x1B3y...",
    "name": "Acme Product",
    "createdAt": "2026-04-12T18:11:43Z"
  },
  "members": [
    {
      "id": "tmm_...",
      "userId": "user_...",
      "email": "founder@acme.com",
      "role": "admin",
      "status": "accepted",
      "functionScope": null
    }
  ],
  "currentRole": "admin"
}

Errors

StatusCodeWhen
401AUTH_REQUIREDNo session.
403Not a team memberCaller has no accepted membership for this team.
404Team not foundBad id.
500INTERNAL_ERRORRead failed.