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

The API base URL is `https://www.comarketing.com`. Create a `cm_` key in Integrations, then call the routes in the API reference.

Sending a lead writes a row in Leads Sent. `POST /api/external/leads` is a different route and stays unchanged.

## Start here

- [Authentication](/docs/authentication) covers the `X-CM-API-KEY` header.
- [Errors](/docs/errors) lists the status codes every route shares.
- [Idempotency](/docs/idempotency) makes a retried send return the original lead.
- [Webhooks](/docs/webhooks) covers signing and retries for lead events.
