# Send a webhook from PostHog to Manifolds

> How to configure PostHog Webhook Destinations to POST an enrichment request to Manifolds.

This guide shows how to configure PostHog to send a webhook to Manifolds to kick off an enrichment workflow.

## API Endpoint

The first important concept is the Manifolds API endpoint to which PostHog will send enrichment requests.

An API endpoint is a URL that accepts requests from clients (like PostHog) to perform specific actions (like starting an enrichment).

This endpoint accepts POST requests with a JSON body containing at least an email address. (More on that below.)

## API Endpoint details

**URL**

https://api.manifolds.run/v0/enrichments

**Method**

POST

**Auth**

Authorization: Bearer \<your_api_key>

## Manifolds API key

The next important concept is a Manifolds API key.

An API key is a secret token that authenticates requests to the Manifolds API. It ensures that only authorized clients can access your Manifolds account and perform actions like starting enrichments.

You may already have an API key if you have used Manifolds before. If not, you can create one in your Manifolds account settings.

To create a new API key, log into Manifolds and follow these steps:

1. Go to your account settings.
2. Navigate to the API keys section.
3. Create a new API key and copy it to your clipboard.

## PostHog setup

Once you have your Manifolds API key, you can set up PostHog to send enrichment requests.

To configure PostHog, log in at posthog.com and follow these steps:

1. First go to **Data pipelines → Destinations**.
2. Create a new 'destination' and choose **Webhook**.
3. Use the settings below, then save / enable.
4. Use PostHog’s **Test** button to verify delivery.

### Settings to copy/paste

**Headers**

```
Content-Type: application/json
Authorization: Bearer YOUR_MANIFOLDS_API_KEY
Idempotency-Key: {event.uuid}
```

**Body**

```json
{
  "email": "{person.properties.email}"
}
```

### What a successful response looks like

A `202 Accepted` means the request was received and will be processed asynchronously.

```json
{
  "status": "accepted",
  "submission_id": "subm_11111111-1111-1111-1111-111111111111",
  "received_at": "2029-01-17T00:12:34Z",
  "idempotency_replayed": false
}
```

Canonical page: https://manifolds.run/docs/send-a-webhook-from-posthog
