---
seo:
  description: >-
    List Preferred Partners, send a lead, read the leads you sent, and register
    a webhook.
sidebar:
  label: Overview
title: Comarketing API
---
List Preferred Partners, send a lead, read the leads you sent, and register a webhook.

Send the account `cm_` key from Integrations in the `X-CM-API-KEY` header.

Version 1.0.0

Base URL: `https://www.comarketing.com`

## Partners

Active Preferred Partner agreements for the account that owns the key.

- [`GET /api/partners`](/docs/reference/partners/list-partners) — List Preferred Partners.

## Leads

Send a lead and read the leads in this account's Leads Sent scope.

- [`POST /api/leads`](/docs/reference/leads/create-lead) — Send a lead.
- [`GET /api/leads`](/docs/reference/leads/list-leads) — List leads you sent.
- [`GET /api/leads/{id}`](/docs/reference/leads/get-lead) — Read a lead you sent.

## Webhooks

Register the HTTPS URL that receives lead events.

- [`PUT /api/webhooks`](/docs/reference/webhooks/register-webhook) — Register a webhook.
- [`POST lead.delivered`](/docs/reference/webhooks/lead-delivered) — lead.delivered.
- [`POST lead.status_changed`](/docs/reference/webhooks/lead-status-changed) — lead.status\_changed.
- [`POST lead.declined`](/docs/reference/webhooks/lead-declined) — lead.declined.
