Create a personal access token, then send it as a Bearer token on every request to the Taskade API. A token calls Taskade as you, with no OAuth 2.0 flow.
Page type: How-to guide. Use it when you know the goal and need the steps.
Taskade supports two credentials: personal access tokens and OAuth 2.0. Use a personal access token for your own scripts and tools. Use OAuth 2.0 when your app acts for other Taskade users.
Before you start
Make sure that your account is ready for a new token.
- A Taskade account with a verified email address. Taskade does not create a token for an unverified account.
- Fewer than 5 active tokens on the account.
curlin a terminal.
1. Create a token
You get one token string. Taskade shows it only once.
- Go to taskade.com/settings/api.
- Scroll to Personal access tokens.
- Click Create token.
- Give the token a name, and click Create.
- Copy the token.
2. Save the token in your terminal
Every example in these docs reads the token from TASKADE_TOKEN.
export TASKADE_TOKEN="tskdp_your_token_here"
Warning: Keep the token out of source code and out of the browser. Anyone with the token can use the API as you.
3. Send the token on a request
Put the token in the Authorization header of each API request.
curl -s https://www.taskade.com/api/v1/me/projects \
-H "Authorization: Bearer $TASKADE_TOKEN"
A valid token returns ok: true and the projects that your account can open:
{ "ok": true, "items": [{ "id": "Pj8sK2nV4wQx6ZbE", "name": "API quickstart" }] }
Check the result
You are done when the request in step 3 returns "ok": true. A missing, wrong, or revoked token returns 401:
{ "ok": false, "message": "Unauthorized", "code": "UNAUTHORIZED", "statusMessage": "Unauthorized" }
Replace a compromised token
If you think that a token is compromised, revoke it and create a new token immediately.
- Go to taskade.com/settings/api.
- Revoke the token in the Personal access tokens list.
- Create a new token, as in step 1.
- Replace the old value everywhere that you use it.
A password reset also revokes every personal access token and every OAuth app grant of the account. If you reset your password, create new tokens before your scripts run again.
Where the token works
One token authenticates every developer surface. The Workspace MCP server reads it from a different variable.
| Surface | How to send the token |
|---|---|
| REST API v1 | Authorization: Bearer $TASKADE_TOKEN |
| Action API v2 | Authorization: Bearer $TASKADE_TOKEN |
Hosted MCP (https://www.taskade.com/mcp), every paid plan |
Authorization: Bearer header, from a client that sets its own headers |
Workspace MCP (@taskade/mcp-server) |
The TASKADE_API_KEY environment variable |
For OAuth 2.0 and the hosted MCP options, see Authentication.
Limits
These limits apply to every account.
| Limit | Value |
|---|---|
| Prefix | Every token starts with tskdp_ |
| Visibility | Taskade shows the value once, at creation |
| Tokens per account | 5. Taskade refuses a sixth with the message Cannot create more than 5 personal access tokens. |
| Scopes | None. A token grants everything that the owning account can reach |
| Your account email must be verified before you can create a token | |
| Password reset | A password reset revokes every personal access token of the account. Taskade sends an email that says so |
Fix common errors
Match the message to a fix.
| What you see | Cause | Fix |
|---|---|---|
"code": "UNAUTHORIZED" |
The token is missing, wrong, or revoked | Send Authorization: Bearer $TASKADE_TOKEN. Make sure that the variable is set in the same terminal. |
"code": "UNAUTHORIZED" after a password reset |
The password reset revoked every personal access token of the account | Create a new token, then replace the old value everywhere that you use it. |
Cannot create more than 5 personal access tokens. |
The account holds 5 tokens | Revoke a token that you do not use. |
Next steps
- Quickstart: use the token to create a project and add a task.
- Taskade API overview: every endpoint group that the token can call.
- Authentication: use OAuth 2.0 when your app acts for other users.
- Hosted MCP: connect an MCP client with the token or with OAuth.