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/highlevel-pit/README.md

View on GitHub
# GoHighLevel (PIT)

## 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:** `highlevel-pit`
**Upstream base URL:** `services.leadconnectorhq.com`

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://services.leadconnectorhq.com/locations/`
- Gateway: `https://api.maton.ai/highlevel-pit/locations/`

**Important:** GoHighLevel uses Agency tokens and Sub-Account tokens with different scopes:

- **Agency token**: Manage locations (sub-accounts), snapshots
- **Sub-Account token**: Contacts, calendars, pipelines, conversations, payments, custom fields, tags, workflows, campaigns

Use the `Maton-Connection` header to specify which token to use.

### Agency Token

#### Locations API

##### Search Locations

```bash
maton api '/highlevel-pit/locations/search?companyId={companyId}'
```

**Note:** `{companyId}` is a placeholder. Replace it with a real value before sending the request.

**Query parameters:**
- `companyId` (required) - The agency's company ID
- `limit` - Results per page
- `skip` - Number to skip (offset)
- `order` - Sort order
- `email` - Filter by email

**Response:**
```json
{
  "locations": [
    {
      "id": "abc123",
      "companyId": "xyz789",
      "name": "My Sub-Account",
      "address": "123 Main St",
      "city": "San Francisco",
      "state": "CA",
      "country": "US",
      "postalCode": "94105",
      "timezone": "America/Los_Angeles",
      "email": "admin@example.com",
      "phone": "+15551234567"
    }
  ]
}
```

##### Get Location

```bash
maton api '/highlevel-pit/locations/{locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "location": {
    "id": "abc123",
    "name": "My Sub-Account",
    "address": "123 Main St",
    "city": "San Francisco",
    "state": "CA",
    "settings": {
      "allowDuplicateContact": false,
      "allowDuplicateOpportunity": false
    },
    "social": { ... },
    "permissions": { ... }
  }
}
```

##### Create Location

```bash
maton api -X POST '/highlevel-pit/locations/' \
  -H 'Content-Type: application/json' \
  --input - <<'EOF'
{
  "companyId": "{companyId}",
  "name": "New Sub-Account",
  "address": "123 Main St",
  "city": "San Francisco",
  "state": "CA",
  "country": "US",
  "timezone": "America/Los_Angeles",
  "email": "admin@example.com"
}
EOF
```

**Note:** `{companyId}` is a placeholder. Replace it with a real value before sending the request.

##### Update Location

```bash
maton api -X PUT '/highlevel-pit/locations/{locationId}' \
  -H 'Content-Type: application/json' \
  --input - <<'EOF'
{
  "name": "Updated Name"
}
EOF
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

##### Delete Location

```bash
maton api '/highlevel-pit/locations/{locationId}' -X DELETE
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Snapshots API

##### List Snapshots

```bash
maton api '/highlevel-pit/snapshots/?companyId={companyId}'
```

**Note:** `{companyId}` is a placeholder. Replace it with a real value before sending the request.

### Sub-Account Token

#### Contacts API

##### List Contacts

```bash
maton api '/highlevel-pit/contacts/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Query parameters:**
- `locationId` (required)
- `limit` - Results per page (default 20)
- `query` - Search by name, email, or phone
- `startAfter` - Cursor for pagination (contact ID)
- `startAfterId` - Cursor for pagination

**Response:**
```json
{
  "contacts": [
    {
      "id": "abc123",
      "locationId": "loc123",
      "firstName": "John",
      "lastName": "Doe",
      "email": "john@example.com",
      "phone": "+15551234567",
      "companyName": "Acme Inc",
      "tags": ["customer", "vip"],
      "type": "lead",
      "dnd": false,
      "dateAdded": "2026-04-28T07:34:32.829Z",
      "customFields": []
    }
  ],
  "meta": {
    "total": 150,
    "startAfter": "abc123",
    "startAfterId": "abc123"
  }
}
```

##### Get Contact

```bash
maton api '/highlevel-pit/contacts/{contactId}'
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "contact": {
    "id": "abc123",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john@example.com",
    "phone": "+15551234567",
    "tags": ["customer"],
    "type": "lead",
    "companyName": "Acme Inc",
    "customFields": [],
    "additionalEmails": [],
    "additionalPhones": []
  }
}
```

##### Create Contact

```bash
maton api -X POST '/highlevel-pit/contacts/' \
  -H 'Content-Type: application/json' \
  --input - <<'EOF'
{
  "locationId": "{locationId}",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john@example.com",
  "phone": "+15551234567",
  "tags": ["customer"]
}
EOF
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

##### Update Contact

```bash
maton api -X PUT '/highlevel-pit/contacts/{contactId}' \
  -H 'Content-Type: application/json' \
  --input - <<'EOF'
{
  "firstName": "Jane"
}
EOF
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

##### Delete Contact

```bash
maton api '/highlevel-pit/contacts/{contactId}' -X DELETE
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

#### Contact Tags API

##### Add Tags

```bash
maton api -X POST '/highlevel-pit/contacts/{contactId}/tags' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "tags": ["vip", "priority"]
}
JSON
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "tags": ["customer", "vip", "priority"],
  "tagsAdded": ["vip", "priority"]
}
```

##### Remove Tags

```bash
maton api '/highlevel-pit/contacts/{contactId}/tags' -X DELETE -H 'Content-Type: application/json' --input - <<'JSON'
{
  "tags": ["vip"]
}
JSON
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "tags": ["customer", "priority"],
  "tagsRemoved": ["vip"]
}
```

#### Notes API

##### Contact Notes

```bash
maton api '/highlevel-pit/contacts/{contactId}/notes'
maton api '/highlevel-pit/contacts/{contactId}/notes/{noteId}' -X DELETE
```

**Note:** `{contactId}` and `{noteId}` are placeholders. Replace each of them with real values before sending the request.

##### Create Note

```bash
maton api -X POST '/highlevel-pit/contacts/{contactId}/notes' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "body": "Spoke with client about renewal"
}
JSON
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "note": {
    "id": "note123",
    "body": "Spoke with client about renewal",
    "dateAdded": "2026-04-30T10:22:47.934Z",
    "contactId": "abc123"
  }
}
```

##### Update Note

```bash
maton api -X PUT '/highlevel-pit/contacts/{contactId}/notes/{noteId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "body": "Updated note content"
}
JSON
```

**Note:** `{contactId}` and `{noteId}` are placeholders. Replace each of them with real values before sending the request.

#### Tasks API

##### List Tasks

```bash
maton api '/highlevel-pit/contacts/{contactId}/tasks'
```

**Note:** `{contactId}` is a placeholder. Replace each of them with real values before sending the request.

###### Create Task

**IMPORTANT:** The `completed` field is required.

```bash
maton api -X POST '/highlevel-pit/contacts/{contactId}/tasks' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "title": "Follow up call",
  "body": "Discuss contract renewal",
  "dueDate": "2026-06-01T10:00:00Z",
  "completed": false
}
JSON
```

**Note:** `{contactId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "task": {
    "id": "task123",
    "title": "Follow up call",
    "body": "Discuss contract renewal",
    "dueDate": "2026-06-01T10:00:00.000Z",
    "completed": false,
    "contactId": "abc123"
  }
}
```

##### Update Task

```bash
maton api -X PUT '/highlevel-pit/contacts/{contactId}/tasks/{taskId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "title": "Updated task",
  "completed": true
}
JSON
```

**Note:** `{contactId}` and `{taskId}` are placeholders. Replace each of them with real values before sending the request.

##### Delete Task

```bash
maton api '/highlevel-pit/contacts/{contactId}/tasks/{taskId}' -X DELETE
```

**Note:** `{contactId}` and `{taskId}` are placeholders. Replace each of them with real values before sending the request.

#### Opportunities API

```bash
maton api '/highlevel-pit/opportunities/{opportunityId}'
maton api '/highlevel-pit/opportunities/{opportunityId}' -X DELETE
```

**Note:** `{opportunityId}` is a placeholder. Replace it with a real value before sending the request.

##### Search Opportunities

```bash
maton api '/highlevel-pit/opportunities/search?location_id={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Query parameters:**
- `location_id` (required)
- `pipeline_id` - Filter by pipeline
- `pipeline_stage_id` - Filter by stage
- `status` - `open`, `won`, `lost`, `abandoned`, `all`
- `contact_id` - Filter by contact
- `q` - Search query
- `limit` - Results per page
- `page` - Page number

**Response:**
```json
{
  "opportunities": [
    {
      "id": "opp123",
      "name": "Enterprise Deal",
      "monetaryValue": 50000,
      "pipelineId": "pipe123",
      "pipelineStageId": "stage123",
      "status": "open",
      "contactId": "abc123",
      "contact": {
        "id": "abc123",
        "name": "John Doe",
        "email": "john@example.com"
      }
    }
  ],
  "meta": {
    "total": 25,
    "currentPage": 1,
    "nextPage": 2,
    "prevPage": null
  }
}
```

##### Create Opportunity

```bash
maton api -X POST '/highlevel-pit/opportunities/' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "pipelineId": "{pipelineId}",
  "locationId": "{locationId}",
  "name": "Enterprise Deal",
  "pipelineStageId": "{stageId}",
  "status": "open",
  "contactId": "{contactId}",
  "monetaryValue": 50000
}
JSON
```

**Note:** `{pipelineId}`, `{locationId}`, `{stageId}` and `{contactId}` are placeholders. Replace each of them with real values before sending the request.

##### Update Opportunity

**IMPORTANT:** `pipelineId` is required even when not changing it.

```bash
maton api -X PUT '/highlevel-pit/opportunities/{opportunityId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "pipelineId": "{pipelineId}",
  "name": "Updated Deal",
  "monetaryValue": 75000,
  "status": "won"
}
JSON
```

**Note:** `{opportunityId}` and `{pipelineId}` are placeholders. Replace each of them with real values before sending the request.

#### Pipelines API

##### List Pipelines

```bash
maton api '/highlevel-pit/opportunities/pipelines?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "pipelines": [
    {
      "id": "pipe123",
      "name": "Sales Pipeline",
      "stages": [
        {
          "id": "stage-uuid",
          "name": "New Lead",
          "position": 0,
          "stageWinProbability": 14.29
        },
        {
          "id": "stage-uuid-2",
          "name": "Contacted",
          "position": 1,
          "stageWinProbability": 28.57
        }
      ]
    }
  ]
}
```

#### Calendars API

##### List Calendars

```bash
maton api '/highlevel-pit/calendars/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "calendars": [
    {
      "id": "cal123",
      "locationId": "loc123",
      "name": "Personal Calendar",
      "calendarType": "personal",
      "eventType": "RoundRobin_OptimizeForAvailability",
      "slotDuration": 30,
      "teamMembers": [
        {
          "userId": "user123",
          "selected": true,
          "priority": 0.5
        }
      ]
    }
  ]
}
```

##### Create Calendar

```bash
maton api -X POST '/highlevel-pit/calendars/' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "locationId": "{locationId}",
  "name": "Team Calendar",
  "calendarType": "personal",
  "eventType": "RoundRobin_OptimizeForAvailability",
  "teamMembers": [
    {
      "userId": "{userId}",
      "priority": 0.5,
      "selected": true
    }
  ]
}
JSON
```

**Note:** `{locationId}` and `{userId}` are placeholders. Replace each of them with real values before sending the request.

##### Update Calendar

**Note:** Do NOT include `locationId` in the update body.

```bash
maton api -X PUT '/highlevel-pit/calendars/{calendarId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Updated Calendar",
  "calendarType": "personal",
  "eventType": "RoundRobin_OptimizeForAvailability",
  "teamMembers": [
    {
      "userId": "{userId}",
      "priority": 0.5,
      "selected": true
    }
  ]
}
JSON
```

**Note:** `{calendarId}` and `{userId}` are placeholders. Replace each of them with real values before sending the request.

##### Get Calendar Events

Requires at least one of `calendarId`, `userId`, or `groupId`.

```bash
maton api '/highlevel-pit/calendars/events?locationId={locationId}&calendarId={calendarId}&startTime={epochMs}&endTime={epochMs}'
```

**Note:** `{locationId}`, `{calendarId}` and `{epochMs}` are placeholders. Replace each of them with real values before sending the request.

**Query parameters:**
- `locationId` (required)
- `calendarId`, `userId`, or `groupId` (at least one required)
- `startTime` - Start of range (epoch milliseconds)
- `endTime` - End of range (epoch milliseconds)

##### Get Free Slots

```bash
maton api '/highlevel-pit/calendars/{calendarId}/free-slots?startDate={epochMs}&endDate={epochMs}&timezone={timezone}'
```

**Note:** `{calendarId}`, `{epochMs}` and `{timezone}` are placeholders. Replace each of them with real values before sending the request.

##### Calendar Groups

```bash
maton api '/highlevel-pit/calendars/groups?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Conversations API

```bash
maton api '/highlevel-pit/conversations/{conversationId}'
maton api '/highlevel-pit/conversations/{conversationId}/messages'
```

**Note:** `{conversationId}` is a placeholder. Replace it with a real value before sending the request.

##### Search Conversations

```bash
maton api '/highlevel-pit/conversations/search?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Query parameters:**
- `locationId` (required)
- `limit` - Results per page
- `contactId` - Filter by contact
- `assignedTo` - Filter by assigned user
- `status` - Filter by status

**Response:**
```json
{
  "conversations": [
    {
      "id": "conv123",
      "locationId": "loc123",
      "contactId": "abc123",
      "fullName": "John Doe",
      "type": "TYPE_PHONE",
      "lastMessageDate": 1777361673411,
      "lastMessageType": "TYPE_NO_SHOW",
      "unreadCount": 0
    }
  ],
  "total": 5
}
```

##### Create Conversation

```bash
maton api -X POST '/highlevel-pit/conversations/' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "locationId": "{locationId}",
  "contactId": "{contactId}"
}
JSON
```

**Note:** `{locationId}` and `{contactId}` are placeholders. Replace each of them with real values before sending the request.

#### Users API

##### List Users

```bash
maton api '/highlevel-pit/users/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "users": [
    {
      "id": "user123",
      "name": "Admin User",
      "firstName": "Admin",
      "lastName": "User",
      "email": "admin@example.com",
      "phone": "+15551234567",
      "roles": {
        "type": "admin",
        "role": "admin",
        "locationIds": ["loc123"]
      }
    }
  ]
}
```

#### Location Tags API

##### List Tags

```bash
maton api '/highlevel-pit/locations/{locationId}/tags'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "tags": [
    {
      "id": "tag123",
      "name": "VIP Customer",
      "locationId": "loc123"
    }
  ]
}
```

##### Create Tag

```bash
maton api -X POST '/highlevel-pit/locations/{locationId}/tags' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "New Tag"
}
JSON
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

##### Update Tag

```bash
maton api -X PUT '/highlevel-pit/locations/{locationId}/tags/{tagId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Updated Tag"
}
JSON
```

**Note:** `{locationId}` and `{tagId}` are placeholders. Replace each of them with real values before sending the request.

#### Custom Fields API

##### List Custom Fields

```bash
maton api '/highlevel-pit/locations/{locationId}/customFields'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "customFields": [
    {
      "id": "cf123",
      "name": "Customer ID",
      "fieldKey": "contact.customer_id",
      "dataType": "TEXT",
      "model": "contact",
      "position": 50
    }
  ]
}
```

##### Create Custom Field

```bash
maton api -X POST '/highlevel-pit/locations/{locationId}/customFields' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Customer ID",
  "dataType": "TEXT",
  "model": "contact"
}
JSON
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

Valid `dataType` values: `TEXT`, `LARGE_TEXT`, `NUMERICAL`, `PHONE`, `MONETORY`, `CHECKBOX`, `SINGLE_OPTIONS`, `MULTIPLE_OPTIONS`, `FLOAT`, `DATE`, `TEXTBOX_LIST`, `FILE_UPLOAD`, `SIGNATURE`

Valid `model` values: `contact`, `opportunity`

##### Update Custom Field

```bash
maton api -X PUT '/highlevel-pit/locations/{locationId}/customFields/{customFieldId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Updated Field Name"
}
JSON
```

**Note:** `{locationId}` and `{customFieldId}` are placeholders. Replace each of them with real values before sending the request.

#### Custom Values API

##### List Custom Values

```bash
maton api '/highlevel-pit/locations/{locationId}/customValues'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "customValues": [
    {
      "id": "cv123",
      "name": "Company Tagline",
      "fieldKey": "{{ custom_values.company_tagline }}",
      "value": "We build great things",
      "locationId": "loc123"
    }
  ]
}
```

##### Create Custom Value

```bash
maton api -X POST '/highlevel-pit/locations/{locationId}/customValues' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Company Tagline",
  "value": "We build great things"
}
JSON
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

##### Update Custom Value

```bash
maton api -X PUT '/highlevel-pit/locations/{locationId}/customValues/{customValueId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Updated Name",
  "value": "Updated value"
}
JSON
```

**Note:** `{locationId}` and `{customValueId}` are placeholders. Replace each of them with real values before sending the request.

#### Businesses API

##### List Businesses

```bash
maton api '/highlevel-pit/businesses/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "success": true,
  "businesses": [
    {
      "id": "biz123",
      "name": "Acme Inc",
      "locationId": "loc123",
      "city": "Los Angeles",
      "website": "www.acme.com",
      "phone": "+15551234567",
      "email": "info@acme.com"
    }
  ]
}
```

##### Create Business

```bash
maton api -X POST '/highlevel-pit/businesses/' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "locationId": "{locationId}",
  "name": "New Business",
  "city": "San Francisco",
  "phone": "+15551234567",
  "email": "info@newbiz.com",
  "website": "www.newbiz.com"
}
JSON
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

##### Update Business

```bash
maton api -X PUT '/highlevel-pit/businesses/{businessId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Updated Business",
  "city": "Los Angeles"
}
JSON
```

**Note:** `{businessId}` is a placeholder. Replace it with a real value before sending the request.

#### Products API

##### Get Product

```bash
maton api '/highlevel-pit/products/{productId}?locationId={locationId}'
```

**Note:** `{productId}` and `{locationId}` are placeholders. Replace each of them with real values before sending the request.

**Note:** `locationId` query parameter is required even for single product retrieval.

##### Create Product

```bash
maton api -X POST '/highlevel-pit/products/' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "locationId": "{locationId}",
  "name": "Digital Course",
  "description": "Online training program",
  "productType": "DIGITAL"
}
JSON
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Invoices API

##### List Invoices

**IMPORTANT:** Both `offset` and `altId`/`altType` are required.

```bash
maton api '/highlevel-pit/invoices/?altId={locationId}&altType=location&limit=20&offset=0'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.


##### Get Invoice

```bash
maton api '/highlevel-pit/invoices/{invoiceId}?altId={locationId}&altType=location'
```

**Note:** `{invoiceId}` and `{locationId}` are placeholders. Replace each of them with real values before sending the request.

#### Payments

```bash
maton api '/highlevel-pit/payments/orders?altId={locationId}&altType=location'
maton api '/highlevel-pit/payments/transactions?altId={locationId}&altType=location'
maton api '/highlevel-pit/payments/subscriptions?altId={locationId}&altType=location'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Trigger Links API

##### Create Link

```bash
maton api -X POST '/highlevel-pit/links/' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "locationId": "{locationId}",
  "name": "Survey Link",
  "redirectTo": "https://example.com/survey"
}
JSON
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "link": {
    "id": "link123",
    "name": "Survey Link",
    "redirectTo": "https://example.com/survey",
    "fieldKey": "{{trigger_link.link123}}"
  }
}
```

##### Update Link

```bash
maton api -X PUT '/highlevel-pit/links/{linkId}' -H 'Content-Type: application/json' --input - <<'JSON'
{
  "name": "Updated Link",
  "redirectTo": "https://updated.com"
}
JSON
```

**Note:** `{linkId}` is a placeholder. Replace it with a real value before sending the request.

#### Funnels API

##### List Funnels

```bash
maton api '/highlevel-pit/funnels/funnel/list?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "funnels": [...],
  "count": 5
}
```

#### Accounts API

##### List Accounts

```bash
maton api '/highlevel-pit/social-media-posting/{locationId}/accounts'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

**Response:**
```json
{
  "success": true,
  "results": {
    "accounts": [...],
    "groups": [...]
  }
}
```

##### List Categories

```bash
maton api '/highlevel-pit/social-media-posting/{locationId}/categories'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Workflows API

##### List Workflows

```bash
maton api '/highlevel-pit/workflows/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Campaigns API

##### List Campaigns

```bash
maton api '/highlevel-pit/campaigns/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Forms API

##### List Forms

```bash
maton api '/highlevel-pit/forms/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Surveys API

##### List Surveys

```bash
maton api '/highlevel-pit/surveys/?locationId={locationId}'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

#### Files API

##### List Files

**IMPORTANT:** The `type` parameter is required.

```bash
maton api '/highlevel-pit/medias/files?altId={locationId}&altType=location&type=file&limit=20'
```

**Note:** `{locationId}` is a placeholder. Replace it with a real value before sending the request.

Valid `type` values: `file`, `image`, `video`, `audio`

### Notes

- Two token types with different scopes — use `Maton-Connection` header
- Most sub-account endpoints require `locationId` query parameter
- Payment/invoice endpoints use `altId` + `altType=location` instead of `locationId`
- Social media endpoints put `locationId` in the URL path, not as a query parameter
- Calendar events use epoch milliseconds for time parameters
- Calendar update must NOT include `locationId` in body
- Contact task creation requires `completed` boolean field
- Opportunity update requires `pipelineId` even when not changing it
- All delete operations return HTTP 200

### Resources

- [GoHighLevel API Documentation](https://highlevel.stoplight.io/docs/integrations/)
- [GoHighLevel Marketplace](https://marketplace.gohighlevel.com/docs/)
- [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