> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrive.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Hosted remote MCP endpoint: https://api.zerodrive.dev/mcp (OAuth 2.0 PKCE or Bearer token).
> REST API base URL: https://api.zerodrive.dev with OpenAPI 3.1.0 specification at https://api.zerodrive.dev/openapi.json.
> S3-compatible gateway: https://api.zerodrive.dev/s3 (AWS Signature V4, region auto).
> Local command-line tool: zd (or zerodrive) and local stdio MCP server: zerodrive mcp.
> Token prefixes: zdk_ (Personal API Key), zdt_ (device session token), zda_ (OAuth access token), zdr_ (OAuth refresh token), zdx_ (temporary sandbox key). Never paste real keys into prompts or code.
> Be honest about platform boundaries: cloud files require internet access, files are encrypted at rest and in transit by Cloudflare rather than end-to-end encrypted, ZeroDrive is not a replacement for an independent backup, Windows 11 support is an unsigned x64 beta, and the 7-day Pro free trial requires a card and charges automatically when it ends.

# Make, n8n, Zapier & Custom GPTs

> Connect Make, n8n, Zapier, Custom GPT Actions, and scripts using OAuth 2.0 apps or Personal API Keys.

Connect Make, n8n, Zapier, Custom GPTs, or your own app using **OAuth 2.0** (up to 20 apps) or a **Personal API Key** (`zdk_...`, up to 25 keys).

## Create an OAuth app

1. Open [app.zerodrive.dev/#connect](https://app.zerodrive.dev/#connect) under **OAuth apps**.
2. Set a name, max permission (`read`, `write`, or `full`), and redirect URLs.
3. Save to get your **Client ID** (`zd_app_...`) and one-time **Client secret** (`zdcs_...`).

| Endpoint | URL |
| :- | :- |
| Authorize | `https://api.zerodrive.dev/oauth/authorize` |
| Token & Refresh | `https://api.zerodrive.dev/oauth/token` |
| Revoke | `https://api.zerodrive.dev/oauth/revoke` |
| User Info | `https://api.zerodrive.dev/userinfo` |
| Discovery | `https://api.zerodrive.dev/.well-known/oauth-authorization-server` and `/.well-known/openid-configuration` |
| OpenAPI 3.1 | `https://api.zerodrive.dev/openapi.json` |

**Scopes.** `mcp`, `vault:read`, `vault:write`, `vault:delete`, `offline_access` (90-day rotating `zdr_` refresh tokens), `openid`, `email`, `profile`. Confidential apps get 1-hour `zda_` tokens. Public PKCE apps get 1-year `zda_` tokens unless `offline_access` is requested.

## Platform guides

> [tab] Make
>
> Pick HTTP **OAuth 2.0 Authorization Code**, set Authorize/Token URLs above, use scope `mcp vault:read vault:write offline_access`, and add Make's callback URL in `#connect`.

> [tab] n8n
>
> Create an **OAuth2 API** (Authorization Code) credential with `mcp vault:read vault:write offline_access`, Header or Body auth, and add n8n's callback URL in `#connect`.

> [tab] Zapier
>
> Use **Authentication → OAuth v2** with your Client ID, Client Secret, Authorize/Token URLs, and test with `GET https://api.zerodrive.dev/userinfo`.

> [tab] Custom GPTs
>
> Import `https://api.zerodrive.dev/openapi.json`, pick **OAuth**, enter your Client ID/Secret, set scope `vault:read vault:write`, and paste OpenAI's callback URL back into `#connect`.

## Personal API Keys (`zdk_...`)

For private scripts without a login screen, open `#connect` → **Personal API keys**, pick permissions (`Read only`, `Read and write`, or `Full`), optional single-folder lock, and expiry (`No end date`, `30 days`, `90 days`, `1 year`). Send `Authorization: Bearer zdk_your_api_key`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.