Authorization header.
Using an AI assistant? The MCP connector (for Claude, Cursor, and other AI tools) handles authentication via OAuth. You don’t need an API token — just connect through your AI assistant’s settings. See the MCP guide.
Create an API token
Create a new token
Click Create token. Give it a name and select the Drive it should be associated with.
Drive scoping
Each API token is scoped to a single Descript Drive. This means:- The token can only access projects in its associated Drive
- Attempting to edit a project in a different Drive returns a
403error, even if your account has access to that Drive - If you work across multiple Drives, create a separate token for each
Using the token
Include the token as a Bearer token in theAuthorization header of every request:
Error responses
| Status Code | Meaning | What to do |
|---|---|---|
401 | Missing or invalid token | Check that you’re including the Authorization header with a valid token |
402 | Insufficient credits | Your account has run out of media minutes or AI credits |
403 | Wrong Drive | The token doesn’t have access to the requested project’s Drive |
Token management
- Tokens don’t expire automatically, but you can revoke them at any time in Settings
- Create descriptive names (e.g., “Production automation”, “CI pipeline”) so you know what each token is for
- Use separate tokens for different environments or use cases so you can revoke one without affecting others
Rate limits
Rate limits exist for infrastructure stability, not to cap the value you get from the API.| Endpoint | Limit |
|---|---|
POST /jobs/import/project_media | 10 requests per minute |
POST /jobs/agent | 10 requests per minute |
GET /jobs/{job_id} | 20 requests per second per user |
429 Too Many Requests with these headers:
| Header | Description |
|---|---|
Retry-After | Seconds to wait before retrying |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Consumed | Requests consumed in the current window |
Retry-After header — don’t retry immediately on a 429.