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. Used when the credential request flow needs to span an OAuth boundary (e.g., the GitHub admin owns the connection, and the requesting member needs read scope to feed scoring).
curl -X POST https://app.dacard.ai/api/integrations/github/request-access \
  -H "Authorization: Bearer $DACARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "scope": "read",
    "reason": "Need to fold our deploy frequency into the next score."
  }'
PropertyValue
AuthRequired
IdempotentYes (duplicate requests for the same scope return the existing pending request)

Path

FieldRequiredNotes
provideryesThe integration provider key (e.g., github, linear).

Body

FieldTypeRequiredNotes
scoperead | writeyesThe scope being requested.
reasonstringnoFree text. Surfaces in the approval email.

Errors

StatusCodeWhen
401AUTH_REQUIREDNo session.
404Provider not connected on this accountNo integration of this provider exists yet.
500INTERNAL_ERRORWrite or email failed.
Side effects: row inserted in credential_requests, email sent to the integration owner via Resend.