Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions partner-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,63 @@ Authorization: Bearer <partner key>

Partner keys are distinct from standard Firecrawl API keys and are provided directly by the Firecrawl team.

## Self-serve partner keys

You can self-provision a partner key (integration key) using the Firecrawl Integrations service.

**Base URL**

```
https://integrations.firecrawl.dev
```

**Endpoint**

```
POST /partner/v1/integrations/self-serve
```

**Request**

```bash
curl -X POST "https://integrations.firecrawl.dev/partner/v1/integrations/self-serve" \
-H "Content-Type: application/json" \
-d '{"display_name":"Acme","domain":"acme.com","metadata":{}}'
```

**Body**

| Field | Type | Required | Description |
|------|------|----------|-------------|
| `display_name` | string | Yes | Display name for the integration |
| `domain` | string | No | Optional partner domain |
| `metadata` | object | No | Optional JSON object for additional data |

**Response (`200 OK`)**

```json
{
"apiKey": "…",
"slug": "acme-1a2b3c",
"displayName": "Acme"
}
```

| Field | Type | Description |
|------|------|-------------|
| `apiKey` | string | Your partner key (integration key). **Shown once** — store it securely. |
| `slug` | string | Stable integration identifier used for scoping partner-created teams/keys |
| `displayName` | string | Echo of the integration display name |

**Errors**

| Status | Description |
|--------|-------------|
| `400` | Invalid request body |
| `409` | Failed to allocate unique slug |
| `429` | Rate limit exceeded |
| `500` | Internal server error |

## Security Requirements

- **Server-side only**: Partner keys must only be used in server-side code. Never expose a partner key in frontend code, client-side JavaScript, or mobile applications.
Expand Down