AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
API Overview
Query and mutate Done Bear resources over the GraphQL API.
The Done Bear API uses GraphQL for all queries and mutations. Send authenticated requests to the GraphQL endpoint to manage workspaces, tasks, projects, teams, labels, and API keys.
Base URL
All API requests go to:
curl https://api.donebear.com/graphql \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{"query":"query { viewer { id email } }"}'Authentication
Send bearer credentials in the Authorization header. The API accepts:
- Done Bear API keys that start with
db_ - Supabase JWTs
Example:
curl https://api.donebear.com/graphql \
-H "Authorization: Bearer <token-or-api-key>" \
-H "Content-Type: application/json" \
--data '{"query":"query { myWorkspaces { id name } }"}'Next steps
- Follow Authenticate API requests to set up credentials.
- Use GraphQL reference for the full list of queries and mutations.