# New API endpoints for managing project tokens (https://depot.dev/changelog/2024-05-20-project-token-api-endpoints)

> Published 2024-05-20

Now available in the Depot API is the ability to manage project tokens for all your projects. You can create, list, and delete project tokens via the API.

To create a new project token, you can use the following API example from our [Node SDK](https://github.com/depot/sdk-node):

```typescript
const headers = {Authorization: `Bearer ${process.env.DEPOT_TOKEN}`}

const result = await depot.core.v1.ProjectService.createToken(
  {
    projectId: 'project-id',
    description: 'my-token',
  },
  {headers},
)
```

See our [API reference](/docs/api/overview) for docs on all of the Depot API endpoints.

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.