Authorization
This guide describes the authorization flows for Dovetail’s Public API.
What is authorization?
Authorization is the process of verifying the identity of a user and granting access to their Dovetail data. It also ensures that the entity making the request is who it claims to be. Dovetail uses API tokens to identify a user and control access to the API.
How to get an API Token?
-
Go to Dovetail's account settings.

-
Enter a label for the key and create the key.
Note: The UI will only display the key to you once so make sure you copy it to somewhere secure. Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, etc.

API Token Format
Dovetail’s API token consists of an opaque string prefixed with api., e.g. api.wcFxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
API Token Expiry
The token is only valid for a period of 30 days, a new token needs to be generated at the end of the period.
You can manually revoke a token. This is really useful if you suspect that an API token has been leaked. Once a token has been revoked, it cannot be undone and any applications using this developer key will no longer be granted access to Dovetail data.
How do I use my API token?
To authenticate your requests, pass the newly created key with header:
Authorization: Bearer <DOVETAIL_API_TOKEN>.
See example below using the projects endpoint:
curl 'https://dovetail.com/api/v1/projects' \
-H 'Authorization: Bearer <DOVETAIL_API_TOKEN>'Connecting an app with OAuth
If you connect an AI app to the Dovetail MCP server, you can sign in with OAuth instead of creating an API token. A workspace admin must first allow third-party apps to connect. Developers can see how apps authenticate in Build a connector.
Scopes
A token can be limited to specific permissions. See Scopes for the name shown when you choose permissions, the OAuth scope behind it, and the MCP tools and API endpoints it allows.
Updated 5 days ago