# Get API access

Every request except `GET /health` needs a **partner key**, and most requests also carry your
**organization's client key**.

| Key | Header | Who provides it | What it identifies |
| --- | --- | --- | --- |
| Partner key | `x-api-key` | Load Market issues it on request | Your integration (you, or your TMS product) |
| Client key | `x-api-client-key` | An organization admin or manager copies it in the Load Market web app | The broker or carrier organization the tracking items belong to |

## Client key (organization)

The organization must have an approved Load Market account. Tracking items created through the API use
the organization's plan (the Free plan includes 5 one-time tracking requests).

1. Sign in to the Load Market web app (https://app.load-market.com) as an organization **admin** or
   **manager**.
2. Open **Settings > API Key**.
3. Click **Copy API Key**.

A TMS vendor integrating for several customers asks each customer for their client key and sends it per
request.

## Partner key (integration)

Load Market issues partner keys in pairs:

- a **live** key for real tracking items (drivers are contacted, tracking requests are used from the
  organization's plan), and
- a **test** key for development ([Test mode](/test-mode)) - nothing is sent or billed.

Webhooks are configured per key, so tell us the webhook URL for each one (they can differ).

<a
  href="mailto:office@load-market.com?subject=API%20access%20request&body=Company%20name%3A%0AMC%20%2F%20DOT%20number%3A%0AContact%20name%3A%0AContact%20email%3A%0AWhat%20you%20are%20building%3A%0AWebhook%20URL%20(optional)%3A%0AExpected%20monthly%20tracking%20requests%3A%0A"
  style={{ display: "inline-block", padding: "0.6rem 1.2rem", borderRadius: "0.5rem", background: "var(--primary)", color: "var(--primary-foreground)", fontWeight: 600, textDecoration: "none" }}
>
  Request API access
</a>

The button opens an email to office@load-market.com with these fields to fill in:

- Company name
- MC / DOT number
- Contact name and email
- What you are building
- Webhook URL (optional)
- Expected monthly tracking requests

We reply with your live and test keys, and with the webhook signing secret when you asked for
webhooks.

## Keep the keys safe

- Store keys on your server (environment variables or a secret manager) - never in a browser, a mobile
  app or a public repository.
- Never email a full key. When you contact support, send only the last 4 characters.
- A key that leaked must be replaced: ask support to rotate it. See [Authentication](/authentication).
