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.

Request access to a teammate’s integration credentials. The integration owner receives a notification and approves or rejects. Used by team members who need read or write access to an integration they don’t own.

Read a pending request (public preview)

curl -X GET https://app.dacard.ai/api/credential-requests/{token}
The {token} is delivered to the requester via email. Public route; the token is the only auth. Response:
{
  "integrationName": "GitHub (Acme org)",
  "ownerEmail": "founder@acme.com",
  "scope": "read",
  "expiresAt": "2026-05-13T12:00:00Z",
  "status": "pending"
}

Approve or reject

curl -X POST https://app.dacard.ai/api/credential-requests/{token} \
  -H "Authorization: Bearer $DACARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "decision": "approve" }'
PropertyValue
Auth (POST)Required (the integration owner)
IdempotentYes
Body: { "decision": "approve" } or { "decision": "reject" }.

Errors

StatusCodeWhen
401AUTH_REQUIREDPOST without session.
403FORBIDDENCaller is not the integration owner.
404Token invalid or expiredBad or aged-out token.
410TEAM_INVITE_EXPIREDTTL passed (reused for credential request expiry).
500INTERNAL_ERRORWrite failed.