Skip to content

maton-ai/api-gateway-skill

api-gateway

Verified

Call third-party APIs through the Maton gateway, which injects the credential for an app the user has already connected. Use this skill when the user names a connected app and a concrete action in it - read a mailbox, query a CRM, file an issue, update a spreadsheet, run a query through a connected search or scraping provider. Every call goes to an app the user connected. It is not a general-purpose browser or network client, and it cannot reach a service with no Maton connection. It also manages event triggers, webhook destinations that forward event payloads to an external URL until deleted, and local `--exec` handlers that run a script per event - separate, high-risk capabilities beyond a normal API call. Default to read and list calls; every write, connection, trigger, destination, or handler needs explicit user confirmation.

FileKindSize
SKILL.mdskill md55.7 KB
references/active-campaign/README.mdmarkdown12.8 KB
references/acuity-scheduling/README.mdmarkdown11.3 KB
references/airtable/README.mdmarkdown5.8 KB
references/apify/README.mdmarkdown14.6 KB
references/apollo/README.mdmarkdown7.0 KB
references/asana/README.mdmarkdown12.6 KB
references/attio/README.mdmarkdown12.7 KB
references/basecamp/README.mdmarkdown14.9 KB
references/baserow/README.mdmarkdown15.8 KB
references/beehiiv/README.mdmarkdown12.2 KB
references/box/README.mdmarkdown21.8 KB
references/brave-search/README.mdmarkdown13.7 KB
references/brevo/README.mdmarkdown17.5 KB
references/buffer/README.mdmarkdown13.6 KB
references/cal-com/README.mdmarkdown14.9 KB
references/calendly/README.mdmarkdown16.0 KB
references/calendly/triggers.mdmarkdown9.6 KB
references/callrail/README.mdmarkdown11.0 KB
references/chargebee/README.mdmarkdown7.2 KB
references/clickfunnels/README.mdmarkdown17.2 KB
references/clicksend/README.mdmarkdown13.2 KB
references/clickup/README.mdmarkdown15.4 KB
references/clio/README.mdmarkdown11.0 KB
references/clockify/README.mdmarkdown12.2 KB
references/coda/README.mdmarkdown10.7 KB
references/cognito-forms/README.mdmarkdown5.4 KB
references/companycam/README.mdmarkdown14.2 KB
references/confluence/README.mdmarkdown19.0 KB
references/constant-contact/README.mdmarkdown26.7 KB
references/dropbox-business/README.mdmarkdown24.2 KB
references/dropbox/README.mdmarkdown16.8 KB
references/elevenlabs/README.mdmarkdown13.2 KB
references/eventbrite/README.mdmarkdown10.4 KB
references/exa/README.mdmarkdown14.1 KB
references/facebook-page/README.mdmarkdown15.5 KB
references/fal-ai/README.mdmarkdown8.0 KB
references/fastmail/README.mdmarkdown34.0 KB
references/fathom/README.mdmarkdown10.0 KB
references/figma/README.mdmarkdown18.1 KB
references/firebase/README.mdmarkdown11.4 KB
references/firecrawl/README.mdmarkdown17.3 KB
references/fireflies/README.mdmarkdown6.6 KB
references/front/README.mdmarkdown10.6 KB
references/getresponse/README.mdmarkdown15.0 KB
references/github/README.mdmarkdown19.6 KB
references/github/triggers.mdmarkdown63.8 KB
references/google-ads/README.mdmarkdown7.5 KB
references/google-analytics-admin/README.mdmarkdown9.6 KB
references/google-analytics-data/README.mdmarkdown5.7 KB
references/google-apps-script/README.mdmarkdown14.2 KB
references/google-bigquery/README.mdmarkdown13.2 KB
references/google-business-profile/README.mdmarkdown19.8 KB
references/google-calendar/README.mdmarkdown6.8 KB
references/google-classroom/README.mdmarkdown15.7 KB
references/google-contacts/README.mdmarkdown8.2 KB
references/google-docs/README.mdmarkdown4.3 KB
references/google-drive/README.mdmarkdown10.8 KB
references/google-forms/README.mdmarkdown5.2 KB
references/google-mail/README.mdmarkdown7.9 KB
references/google-mail/triggers.mdmarkdown2.1 KB
references/google-meet/README.mdmarkdown5.3 KB
references/google-merchant/README.mdmarkdown19.2 KB
references/google-play/README.mdmarkdown8.3 KB
references/google-search-console/README.mdmarkdown6.2 KB
references/google-sheets/README.mdmarkdown9.0 KB
references/google-slides/README.mdmarkdown8.1 KB
references/google-tag-manager/README.mdmarkdown17.9 KB
references/google-tasks/README.mdmarkdown11.1 KB
references/google-workspace-admin/README.mdmarkdown11.1 KB
references/grafana/README.mdmarkdown10.1 KB
references/granola-mcp/README.mdmarkdown7.2 KB
references/granola-mcp/schemas/get_meeting_transcript.jsonconfig819 B
references/granola-mcp/schemas/get_meetings.jsonconfig1.6 KB
references/granola-mcp/schemas/list_meetings.jsonconfig1.5 KB
references/granola-mcp/schemas/query_granola_meetings.jsonconfig2.1 KB
references/gumroad/README.mdmarkdown13.1 KB
references/highlevel-pit/README.mdmarkdown26.5 KB
references/hubspot/README.mdmarkdown20.3 KB
references/hubspot/triggers.mdmarkdown6.0 KB
references/icloud-mail/README.mdmarkdown21.3 KB
references/instantly/README.mdmarkdown12.6 KB
references/jira/README.mdmarkdown9.3 KB
references/jobber/README.mdmarkdown8.6 KB
references/jotform/README.mdmarkdown7.2 KB
references/kaggle/README.mdmarkdown7.3 KB
references/keap/README.mdmarkdown13.7 KB
references/kibana/README.mdmarkdown10.2 KB
references/kit/README.mdmarkdown10.4 KB
references/klaviyo/README.mdmarkdown36.7 KB
references/lemlist/README.mdmarkdown6.5 KB
references/linear/README.mdmarkdown7.9 KB
references/linear/triggers.mdmarkdown6.5 KB
references/linkedin-community-management/README.mdmarkdown19.6 KB
references/linkedin/README.mdmarkdown22.6 KB
references/mailchimp/README.mdmarkdown18.6 KB
references/mailerlite/README.mdmarkdown15.6 KB
references/mailgun/README.mdmarkdown16.8 KB
references/make/README.mdmarkdown14.3 KB
references/manus/README.mdmarkdown8.1 KB
references/manychat/README.mdmarkdown11.5 KB
references/memelord/README.mdmarkdown10.0 KB
references/microsoft-excel/README.mdmarkdown7.9 KB
references/microsoft-teams/README.mdmarkdown17.0 KB
references/microsoft-to-do/README.mdmarkdown9.2 KB
references/monday/README.mdmarkdown8.0 KB
references/motion/README.mdmarkdown9.9 KB
references/netlify/README.mdmarkdown15.6 KB
references/notion-mcp/README.mdmarkdown14.9 KB
references/notion-mcp/schemas/notion-create-comment.jsonconfig17.6 KB
references/notion-mcp/schemas/notion-create-database.jsonconfig4.6 KB
references/notion-mcp/schemas/notion-create-pages.jsonconfig10.6 KB
references/notion-mcp/schemas/notion-duplicate-page.jsonconfig927 B
references/notion-mcp/schemas/notion-fetch.jsonconfig2.1 KB
references/notion-mcp/schemas/notion-get-comments.jsonconfig1.6 KB
references/notion-mcp/schemas/notion-get-teams.jsonconfig863 B
references/notion-mcp/schemas/notion-get-users.jsonconfig2.3 KB
references/notion-mcp/schemas/notion-move-pages.jsonconfig3.3 KB
references/notion-mcp/schemas/notion-search.jsonconfig4.3 KB
references/notion-mcp/schemas/notion-update-data-source.jsonconfig6.4 KB
references/notion-mcp/schemas/notion-update-page.jsonconfig9.3 KB
references/notion/README.mdmarkdown12.0 KB
references/notion/triggers.mdmarkdown5.2 KB
references/one-drive/README.mdmarkdown16.8 KB
references/one-note/README.mdmarkdown11.3 KB
references/outlook/README.mdmarkdown10.4 KB
references/pdf-co/README.mdmarkdown9.9 KB
references/pipedrive/README.mdmarkdown9.1 KB
references/podio/README.mdmarkdown11.9 KB
references/posthog/README.mdmarkdown12.5 KB
references/quickbooks/README.mdmarkdown13.2 KB
references/quo/README.mdmarkdown11.2 KB
references/reducto/README.mdmarkdown9.4 KB
references/resend/README.mdmarkdown15.8 KB
references/salesforce/README.mdmarkdown14.6 KB
references/sendgrid/README.mdmarkdown16.8 KB
references/sentry/README.mdmarkdown9.8 KB
references/sharepoint/README.mdmarkdown15.6 KB
references/signnow/README.mdmarkdown9.7 KB
references/slack/README.mdmarkdown17.9 KB
references/slack/triggers.mdmarkdown5.6 KB
references/snapchat/README.mdmarkdown14.9 KB
references/squarespace/README.mdmarkdown18.0 KB
references/squareup/README.mdmarkdown21.1 KB
references/stripe/README.mdmarkdown23.6 KB
references/stripe/triggers.mdmarkdown24.6 KB
references/sunsama-mcp/README.mdmarkdown11.1 KB
references/sunsama-mcp/schemas/accept_meeting_invite.jsonconfig827 B
references/sunsama-mcp/schemas/add_subtasks_to_task.jsonconfig663 B
references/sunsama-mcp/schemas/add_task_to_channel.jsonconfig1.7 KB
references/sunsama-mcp/schemas/align_task_with_objective.jsonconfig414 B
references/sunsama-mcp/schemas/append_task_notes.jsonconfig1.3 KB
references/sunsama-mcp/schemas/change_backlog_folder.jsonconfig807 B
references/sunsama-mcp/schemas/create_braindump_task.jsonconfig616 B
references/sunsama-mcp/schemas/create_calendar_event.jsonconfig1.6 KB
references/sunsama-mcp/schemas/create_channel.jsonconfig1.3 KB
references/sunsama-mcp/schemas/create_follow_up_task_from_email.jsonconfig1.9 KB
references/sunsama-mcp/schemas/create_task.jsonconfig580 B
references/sunsama-mcp/schemas/create_weekly_objective.jsonconfig440 B
references/sunsama-mcp/schemas/decline_meeting_invite.jsonconfig695 B
references/sunsama-mcp/schemas/delete_all_incomplete_recurring_task_instances.jsonconfig1.2 KB
references/sunsama-mcp/schemas/delete_calendar_event.jsonconfig1.6 KB
references/sunsama-mcp/schemas/delete_email_thread.jsonconfig674 B
references/sunsama-mcp/schemas/delete_task.jsonconfig915 B
references/sunsama-mcp/schemas/edit_subtask_title.jsonconfig1.7 KB
references/sunsama-mcp/schemas/edit_task_recurrence_rule.jsonconfig448 B
references/sunsama-mcp/schemas/edit_task_time_estimate.jsonconfig418 B
references/sunsama-mcp/schemas/edit_task_title.jsonconfig375 B
references/sunsama-mcp/schemas/get_archived_tasks.jsonconfig162 B
references/sunsama-mcp/schemas/get_backlog_tasks.jsonconfig171 B
references/sunsama-mcp/schemas/get_task_time_estimate.jsonconfig309 B
references/sunsama-mcp/schemas/import_task_from_calendar_event.jsonconfig944 B
references/sunsama-mcp/schemas/list_email_threads.jsonconfig310 B
references/sunsama-mcp/schemas/log_user_feedback.jsonconfig772 B
references/sunsama-mcp/schemas/mark_email_thread_as_read.jsonconfig552 B
references/sunsama-mcp/schemas/mark_subtask_as_completed.jsonconfig409 B
references/sunsama-mcp/schemas/mark_subtask_as_incomplete.jsonconfig411 B
references/sunsama-mcp/schemas/mark_task_as_completed.jsonconfig441 B
references/sunsama-mcp/schemas/mark_task_as_incomplete.jsonconfig282 B
references/sunsama-mcp/schemas/move_calendar_event.jsonconfig2.0 KB
references/sunsama-mcp/schemas/move_task_from_backlog.jsonconfig432 B
references/sunsama-mcp/schemas/move_task_to_backlog.jsonconfig288 B
references/sunsama-mcp/schemas/move_task_to_day.jsonconfig428 B
references/sunsama-mcp/schemas/reorder_tasks.jsonconfig484 B
references/sunsama-mcp/schemas/reposition_task_in_backlog.jsonconfig622 B
references/sunsama-mcp/schemas/restore_task.jsonconfig279 B
references/sunsama-mcp/schemas/schedule_next_call.jsonconfig1.8 KB
references/sunsama-mcp/schemas/search_tasks.jsonconfig292 B
references/sunsama-mcp/schemas/set_calendar_event_allow_task_projections.jsonconfig902 B
references/sunsama-mcp/schemas/set_shutdown_time.jsonconfig508 B
references/sunsama-mcp/schemas/start_task_timer.jsonconfig276 B
references/sunsama-mcp/schemas/stop_task_timer.jsonconfig274 B
references/sunsama-mcp/schemas/timebox_a_task_to_calendar.jsonconfig1.2 KB
references/sunsama-mcp/schemas/toggle_auto_import_events.jsonconfig311 B
references/sunsama-mcp/schemas/unarchive_task.jsonconfig453 B
references/sunsama-mcp/schemas/update_all_incomplete_recurring_task_instances.jsonconfig1.8 KB
references/sunsama-mcp/schemas/update_calendar_preferences.jsonconfig1.1 KB
references/sunsama-mcp/schemas/update_import_event_filters.jsonconfig387 B
references/supabase/README.mdmarkdown10.7 KB
references/systeme/README.mdmarkdown8.7 KB

references/dropbox/README.md

View on GitHub
# Dropbox

## API Reference

> **Safety:** All write operations (POST, PUT, PATCH, DELETE) require explicit user confirmation before execution. Verify the target resource and intended effect with the user first. See the main [SKILL.md](../../SKILL.md#security--permissions) for full security policy.

**App name:** `dropbox`
**Upstream base URLs:** `api.dropboxapi.com` (RPC), `content.dropboxapi.com` (upload/download)

Replace the upstream base URL with the app name. Everything after the base URL including query strings is kept as-is. Any account-specific part of the base URL and the API credentials are stored in the Maton connection, and the gateway injects both so requests never carry them. For example:

- Upstream: `https://api.dropboxapi.com/2/users/get_current_account`
- Gateway: `https://api.maton.ai/dropbox/2/users/get_current_account`

**Important:** All Dropbox API v2 endpoints use HTTP POST. Most endpoints use JSON request bodies, but upload/download endpoints use binary content with parameters in the `Dropbox-API-Arg` header.

### Users API

#### Get Current Account

```bash
maton api -X POST '/dropbox/2/users/get_current_account' -H 'Content-Type: application/json' --input - <<'JSON'
null
JSON
```

**Response:**
```json
{
  "account_id": "dbid:AAA-AdT84WzkyLw5s590DbYF1nGomiAoO8I",
  "name": {
    "given_name": "John",
    "surname": "Doe",
    "familiar_name": "John",
    "display_name": "John Doe",
    "abbreviated_name": "JD"
  },
  "email": "john@example.com",
  "email_verified": true,
  "disabled": false,
  "country": "US",
  "locale": "en",
  "account_type": {
    ".tag": "basic"
  },
  "root_info": {
    ".tag": "user",
    "root_namespace_id": "11989877987",
    "home_namespace_id": "11989877987"
  }
}
```

#### Get Space Usage

```bash
maton api -X POST '/dropbox/2/users/get_space_usage' -H 'Content-Type: application/json' --input - <<'JSON'
null
JSON
```

**Response:**
```json
{
  "used": 538371,
  "allocation": {
    ".tag": "individual",
    "allocated": 2147483648
  }
}
```

### Files API

#### List Folder

```bash
maton api -X POST '/dropbox/2/files/list_folder' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "",
  "recursive": false,
  "include_deleted": false,
  "include_has_explicit_shared_members": false
}
JSON
```

Use empty string `""` for root folder.

Use empty string `""` for the root folder.

**Request body:**
- `recursive` (optional) - Include contents of subdirectories (default: false)
- `include_deleted` (optional) - Include deleted files (default: false)
- `include_media_info` (optional) - Include media info for photos/videos
- `limit` (optional) - Maximum entries per response (1-2000)

**Response:**

```json
{
  "entries": [
    {
      ".tag": "file",
      "name": "document.pdf",
      "path_lower": "/document.pdf",
      "path_display": "/document.pdf",
      "id": "id:Awe3Av8A8YYAAAAAAAAABQ",
      "client_modified": "2026-02-09T19:58:12Z",
      "server_modified": "2026-02-09T19:58:13Z",
      "rev": "016311c063b4f8700000002caa704e3",
      "size": 538371,
      "is_downloadable": true,
      "content_hash": "6542845d7b65ffc5358ebaa6981d991bab9fda194afa48bd727fcbe9e4a3158b"
    },
    {
      ".tag": "folder",
      "name": "Documents",
      "path_lower": "/documents",
      "path_display": "/Documents",
      "id": "id:Awe3Av8A8YYAAAAAAAAABw"
    }
  ],
  "cursor": "AAVqv-MUYFlM98b1QpFK6YaYC8L1s39lWjqbeqgWu4un...",
  "has_more": false
}
```

#### Continue Listing

```bash
maton api -X POST '/dropbox/2/files/list_folder/continue' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "cursor": "AAVqv-MUYFlM98b1QpFK6YaYC8L1s39lWjqbeqgWu4un..."
}
JSON
```

Use when `has_more` is true in the previous response.

#### Get Metadata

```bash
maton api -X POST '/dropbox/2/files/get_metadata' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/document.pdf",
  "include_media_info": false,
  "include_deleted": false,
  "include_has_explicit_shared_members": false
}
JSON
```

**Response:**
```json
{
  ".tag": "file",
  "name": "document.pdf",
  "path_lower": "/document.pdf",
  "path_display": "/document.pdf",
  "id": "id:Awe3Av8A8YYAAAAAAAAABQ",
  "client_modified": "2026-02-09T19:58:12Z",
  "server_modified": "2026-02-09T19:58:13Z",
  "rev": "016311c063b4f8700000002caa704e3",
  "size": 538371,
  "is_downloadable": true,
  "content_hash": "6542845d7b65ffc5358ebaa6981d991bab9fda194afa48bd727fcbe9e4a3158b"
}
```

#### Create Folder

```bash
maton api -X POST '/dropbox/2/files/create_folder_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/New Folder",
  "autorename": false
}
JSON
```

**Response:**
```json
{
  "metadata": {
    "name": "New Folder",
    "path_lower": "/new folder",
    "path_display": "/New Folder",
    "id": "id:Awe3Av8A8YYAAAAAAAAABw"
  }
}
```

#### Copy File

```bash
maton api -X POST '/dropbox/2/files/copy_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "from_path": "/source/file.pdf",
  "to_path": "/destination/file.pdf",
  "autorename": false
}
JSON
```

**Response:**
```json
{
  "metadata": {
    ".tag": "file",
    "name": "file.pdf",
    "path_lower": "/destination/file.pdf",
    "path_display": "/destination/file.pdf",
    "id": "id:Awe3Av8A8YYAAAAAAAAACA"
  }
}
```

#### Move File

```bash
maton api -X POST '/dropbox/2/files/move_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "from_path": "/old/location/file.pdf",
  "to_path": "/new/location/file.pdf",
  "autorename": false
}
JSON
```

**Response:**
```json
{
  "metadata": {
    ".tag": "file",
    "name": "file.pdf",
    "path_lower": "/new/location/file.pdf",
    "path_display": "/new/location/file.pdf",
    "id": "id:Awe3Av8A8YYAAAAAAAAACA"
  }
}
```

#### Delete File

```bash
maton api -X POST '/dropbox/2/files/delete_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/file-to-delete.pdf"
}
JSON
```

**Response:**
```json
{
  "metadata": {
    ".tag": "file",
    "name": "file-to-delete.pdf",
    "path_lower": "/file-to-delete.pdf",
    "path_display": "/file-to-delete.pdf",
    "id": "id:Awe3Av8A8YYAAAAAAAAABQ"
  }
}
```

#### Get Temporary Link

```bash
maton api -X POST '/dropbox/2/files/get_temporary_link' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/document.pdf"
}
JSON
```

**Response:**
```json
{
  "metadata": {
    "name": "document.pdf",
    "path_lower": "/document.pdf",
    "path_display": "/document.pdf",
    "id": "id:Awe3Av8A8YYAAAAAAAAABQ",
    "size": 538371,
    "is_downloadable": true
  },
  "link": "https://uc785ee484c03b6556c091ea4491.dl.dropboxusercontent.com/cd/0/get/..."
}
```

The link is valid for 4 hours.

### Upload API

Content endpoints use `Content-Type: application/octet-stream` with parameters in the `Dropbox-API-Arg` header.

#### Upload File (up to 150 MB)

```bash
maton api -X POST '/dropbox/2/files/upload' -H 'Content-Type: application/octet-stream' \
  -H 'Dropbox-API-Arg: {"path": "/test.txt", "mode": "add", "autorename": true, "mute": false}' \
  --input ./test.txt
```

**Parameters (in Dropbox-API-Arg header):**
- `path` (required) - Path in Dropbox where the file will be saved
- `mode` - Write mode: `add` (default), `overwrite`, or `update` with rev
- `autorename` - If true, rename file if there's a conflict (default: false)
- `mute` - If true, don't notify desktop app (default: false)
- `strict_conflict` - If true, be more strict about conflicts (default: false)

**Response:**
```json
{
  "name": "test.txt",
  "path_lower": "/test.txt",
  "path_display": "/test.txt",
  "id": "id:Awe3Av8A8YYAAAAAAAAABw",
  "client_modified": "2026-04-14T10:00:00Z",
  "server_modified": "2026-04-14T10:00:01Z",
  "rev": "016311c063b4f8700000002caa704e4",
  "size": 1024,
  "is_downloadable": true,
  "content_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
```

#### Upload Sessions (Large Files)

For files larger than 150 MB, use upload sessions. Files can be up to 350 GB.

**Step 1: Start Session**

```bash
maton api -X POST '/dropbox/2/files/upload_session/start' -H 'Content-Type: application/octet-stream' \
  -H 'Dropbox-API-Arg: {"close": false}' \
  --input ./chunk.bin
```

**Response:**
```json
{
  "session_id": "AAAAAAAAAAFxxxxxxxxxxxxxxx"
}
```

**Step 2: Append Data (repeat as needed)**

```bash
maton api -X POST '/dropbox/2/files/upload_session/append_v2' -H 'Content-Type: application/octet-stream' \
  -H 'Dropbox-API-Arg: {"cursor": {"session_id": "AAAAAAAAAAFxxxxxxxxxxxxxxx", "offset": 10000000}, "close": false}' \
  --input ./chunk.bin
```

The `offset` must match the total bytes uploaded so far.

**Step 3: Finish Session**

```bash
maton api -X POST '/dropbox/2/files/upload_session/finish' -H 'Content-Type: application/octet-stream' \
  -H 'Dropbox-API-Arg: {"cursor": {"session_id": "AAAAAAAAAAFxxxxxxxxxxxxxxx", "offset": 50000000}, "commit": {"path": "/large_file.zip", "mode": "add", "autorename": true}}' \
  --input ./chunk.bin
```

**Response:** Same as regular upload endpoint.

#### Finish Batch Upload Sessions

Complete multiple upload sessions in one call:

```bash
maton api -X POST '/dropbox/2/files/upload_session/finish_batch' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "entries": [
    {
      "cursor": {
        "session_id": "AAAAAAAAAAFxxxxxxxxxxxxxxx",
        "offset": 50000000
      },
      "commit": {
        "path": "/file1.zip",
        "mode": "add",
        "autorename": true
      }
    },
    {
      "cursor": {
        "session_id": "AAAAAAAAAAFyyyyyyyyyyyyyyy",
        "offset": 30000000
      },
      "commit": {
        "path": "/file2.zip",
        "mode": "add",
        "autorename": true
      }
    }
  ]
}
JSON
```

**Response (async job):**
```json
{
  ".tag": "async_job_id",
  "async_job_id": "dbjid:AAAAAAAAAA..."
}
```

Check status with `/files/upload_session/finish_batch/check`.

#### Check Batch Status

```bash
maton api -X POST '/dropbox/2/files/upload_session/finish_batch/check' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "async_job_id": "dbjid:AAAAAAAAAA..."
}
JSON
```

**Response (in progress):**
```json
{
  ".tag": "in_progress"
}
```

**Response (complete):**
```json
{
  ".tag": "complete",
  "entries": [
    {
      ".tag": "success",
      "name": "file1.zip",
      "path_lower": "/file1.zip",
      "path_display": "/file1.zip",
      "id": "id:Awe3Av8A8YYAAAAAAAAABw"
    },
    {
      ".tag": "success",
      "name": "file2.zip",
      "path_lower": "/file2.zip",
      "path_display": "/file2.zip",
      "id": "id:Awe3Av8A8YYAAAAAAAAABx"
    }
  ]
}
```

### Download API

#### Download File

```bash
maton api -X POST '/dropbox/2/files/download' -H 'Dropbox-API-Arg: {"path": "/document.pdf"}'
```

**Response:** Raw file contents with metadata in `Dropbox-API-Result` response header.

#### Download ZIP

```bash
maton api -X POST '/dropbox/2/files/download_zip' -H 'Dropbox-API-Arg: {"path": "/folder"}'
```

**Response:** ZIP file contents. Note: folders larger than 20 GB or with more than 10,000 files cannot be downloaded as ZIP.

#### Export

Export a file from Dropbox (e.g., Paper docs to markdown):

```bash
maton api -X POST '/dropbox/2/files/export' -H 'Dropbox-API-Arg: {"path": "/document.paper"}'
```

#### Get Preview

```bash
maton api -X POST '/dropbox/2/files/get_preview' -H 'Dropbox-API-Arg: {"path": "/document.docx"}'
```

**Response:** PDF preview of the file.

#### Get Thumbnail

```bash
maton api -X POST '/dropbox/2/files/get_thumbnail_v2' -H 'Dropbox-API-Arg: {"resource": {".tag": "path", "path": "/photo.jpg"}, "format": "jpeg", "size": "w128h128"}'
```

**Thumbnail Sizes:**
- `w32h32`, `w64h64`, `w128h128`, `w256h256`, `w480h320`, `w640h480`, `w960h640`, `w1024h768`, `w2048h1536`

### Search API

#### Search Files

```bash
maton api -X POST '/dropbox/2/files/search_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "query": "document",
  "options": {
    "path": "",
    "max_results": 100,
    "file_status": "active",
    "filename_only": false
  }
}
JSON
```

**Response:**
```json
{
  "has_more": false,
  "matches": [
    {
      "highlight_spans": [],
      "match_type": {
        ".tag": "filename"
      },
      "metadata": {
        ".tag": "metadata",
        "metadata": {
          ".tag": "file",
          "name": "document.pdf",
          "path_display": "/document.pdf",
          "path_lower": "/document.pdf",
          "id": "id:Awe3Av8A8YYAAAAAAAAABw"
        }
      }
    }
  ]
}
```

#### Continue Search

```bash
maton api -X POST '/dropbox/2/files/search/continue_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "cursor": "..."
}
JSON
```

### Revisions API

#### List Revisions

```bash
maton api -X POST '/dropbox/2/files/list_revisions' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/document.pdf",
  "mode": "path",
  "limit": 10
}
JSON
```

**Response:**
```json
{
  "is_deleted": false,
  "entries": [
    {
      "name": "document.pdf",
      "path_lower": "/document.pdf",
      "path_display": "/document.pdf",
      "id": "id:Awe3Av8A8YYAAAAAAAAABQ",
      "client_modified": "2026-02-09T19:58:12Z",
      "server_modified": "2026-02-09T19:58:13Z",
      "rev": "016311c063b4f8700000002caa704e3",
      "size": 538371,
      "is_downloadable": true
    }
  ],
  "has_more": false
}
```

#### Restore File

```bash
maton api -X POST '/dropbox/2/files/restore' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/document.pdf",
  "rev": "016311c063b4f8700000002caa704e3"
}
JSON
```

#### Delete Batch

```bash
maton api -X POST '/dropbox/2/files/delete_batch' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "entries": [
    {"path": "/file1.pdf"},
    {"path": "/file2.pdf"}
  ]
}
JSON
```

Returns async job ID. Check status with `/files/delete_batch/check`.

#### Copy Batch

```bash
maton api -X POST '/dropbox/2/files/copy_batch_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "entries": [
    {"from_path": "/source/file1.pdf", "to_path": "/dest/file1.pdf"},
    {"from_path": "/source/file2.pdf", "to_path": "/dest/file2.pdf"}
  ],
  "autorename": false
}
JSON
```

#### Move Batch

```bash
maton api -X POST '/dropbox/2/files/move_batch_v2' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "entries": [
    {"from_path": "/old/file1.pdf", "to_path": "/new/file1.pdf"},
    {"from_path": "/old/file2.pdf", "to_path": "/new/file2.pdf"}
  ],
  "autorename": false
}
JSON
```

### Tags API

#### Get Tags

```bash
maton api -X POST '/dropbox/2/files/tags/get' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "paths": ["/document.pdf", "/folder"]
}
JSON
```

**Response:**
```json
{
  "paths_to_tags": [
    {
      "path": "/document.pdf",
      "tags": [
        {
          ".tag": "user_generated_tag",
          "tag_text": "important"
        }
      ]
    },
    {
      "path": "/folder",
      "tags": []
    }
  ]
}
```

#### Add Tag

```bash
maton api -X POST '/dropbox/2/files/tags/add' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/document.pdf",
  "tag_text": "important"
}
JSON
```

Returns `null` on success.

**Note:** Tag text must match pattern `[\w]+` (alphanumeric and underscores only, no hyphens or spaces).

#### Remove Tag

```bash
maton api -X POST '/dropbox/2/files/tags/remove' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "path": "/document.pdf",
  "tag_text": "important"
}
JSON
```

Returns `null` on success.

### Pagination

Dropbox uses cursor-based pagination:

```bash
maton api -X POST '/dropbox/2/files/list_folder'
# Response includes "cursor" and "has_more": true/false

maton api -X POST '/dropbox/2/files/list_folder/continue'
# Use cursor from previous response
```

### Content Endpoints (routed to content.dropboxapi.com)

The following endpoints are automatically routed to `content.dropboxapi.com`:
- `/2/files/upload`
- `/2/files/upload_session/start`
- `/2/files/upload_session/append_v2`
- `/2/files/upload_session/finish`
- `/2/files/download`
- `/2/files/download_zip`
- `/2/files/export`
- `/2/files/get_preview`
- `/2/files/get_thumbnail`
- `/2/files/get_thumbnail_v2`
- `/2/paper/docs/download`

### Notes

- All endpoints use POST method
- Standard endpoints use JSON request bodies (`Content-Type: application/json`)
- Content endpoints (upload/download) use binary content (`Content-Type: application/octet-stream`) with params in `Dropbox-API-Arg` header
- Gateway automatically routes content endpoints to `content.dropboxapi.com`
- Use empty string `""` for root folder path
- Paths are case-insensitive but case-preserving
- Tag text must match pattern `[\w]+` (alphanumeric and underscores)
- Temporary links expire after 4 hours
- Max single upload: 150 MB (use upload sessions for up to 350 GB)

### Resources

- [Dropbox HTTP API Overview](https://www.dropbox.com/developers/documentation/http/overview)
- [Dropbox API Explorer](https://dropbox.github.io/dropbox-api-v2-explorer/)
- [DBX File Access Guide](https://developers.dropbox.com/dbx-file-access-guide)
- [Maton CLI Manual](https://cli.maton.ai/manual)
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall