# Partner webhooks and takedown decisions

> Receive signed events for your brands, verify deliveries, and approve or reject takedown requests through the partner API.

Give your nebty contact a publicly reachable HTTPS endpoint on port 443 and agree on a unique signing secret. Exchange the secret through a secure channel. Webhooks cover your partner’s brands and can be enabled separately from branding and takedown approval. [Set up white-label for partners](https://docs.nebty-id.com/guides/white-label-partners/)

## Receive and verify an event

nebty sends an HTTPS `POST` with `Content-Type: application/json`. This is an example of a high-risk finding event.

```json
{
  "id": "0806e7a2-8527-4bfe-8d8d-a1e69a7f8b74",
  "type": "finding.high_risk",
  "created_at": "2026-11-18T12:30:00+00:00",
  "brand_id": "78b24668-dca0-4bdf-b479-2850d567fee1",
  "data": {
    "address": "https://fraud.example",
    "channel": "website",
    "score": 8,
    "screenshot_url": null
  }
}
```

1. Read `X-Nebty-Timestamp` as a decimal Unix timestamp in seconds. Reject timestamps outside your allowed clock window, for example more than five minutes from the current time. Use this header for freshness checks. `created_at` records when the event was created.
2. Compute HMAC-SHA256 with the UTF-8 bytes of your signing secret. The message is the ASCII bytes of `X-Nebty-Timestamp`, followed by one ASCII period (`.`) and the raw request body bytes. Prefix the lowercase hexadecimal digest with `sha256=` and compare it to `X-Nebty-Signature` in constant time. Only process events with a valid signature.
3. Use the event `id`, also sent as `X-Nebty-Event-Id`, to prevent repeated actions. Store accepted IDs with your event records before triggering actions such as creating a ticket or sending a message. Return a `2xx` response once you have durably accepted the event, including events you have already accepted.

A retry keeps the same body and event ID and uses a fresh delivery timestamp and signature. Timeouts, network failures and any response outside `2xx` trigger retries with increasing pauses within a 24-hour window. Redirects count as failures. If a delivery is missing, send nebty the event ID, timestamp and receiver response status if known. A manual resend by nebty keeps the same event ID and starts a fresh retry window.

You can use a tool such as Make, Zapier or n8n to receive events. Check that it exposes the original body bytes and headers. If the tool only provides parsed JSON, verify the signature in a receiver that can read the raw request, then forward the verified event to your workflow.

## Event types

| Event | When it is sent | Event data |
| - | - | - |
| `finding.new` | A finding first reaches a Risk Score of 4 or higher. | `address`, `channel`, `score`, `screenshot_url` |
| `finding.high_risk` | A finding moves from below 8 to a Risk Score of 8 or higher. | The same finding fields. |
| `takedown.requested` | A takedown enters the partner approval queue. | Case fields. |
| `takedown.status_changed` | A takedown starts in or moves to `OPEN`, `IN_PROGRESS` or `PENDING_RESPONSE`. | Case fields and `previous_status`. |
| `takedown.closed` | A takedown enters `CLOSED`. | Case fields and `previous_status`. Use `resolution` for the outcome. |
| `report.ready` | A weekly or monthly report is generated. | `id`, `report_type`, `download_url` and the fields below. |

Finding `channel` is `website`, `search`, `social` or `ads`. `screenshot_url` is `null` when the source has no screenshot.

Case fields are `id`, `brand_id`, `target`, `category`, `status`, `resolution`, `approval_expires_at`, `created_at` and `updated_at`. Case `id` is distinct from the event `id`. Categories are `website`, `token`, `ACCOUNT` for social profiles and `AD` for ads.

Weekly reports (`report_type: weekly`) include `period_start`, `period_end` and a `download_url` for the English XLSX workbook. Download the workbook from your integration and forward it to clients as an attachment. Keep the download link in your integration.

Monthly summaries (`report_type: monthly`) include `year`, `month`, `total_threats`, `previous_total_threats` and `sections`. Their `download_url` is `null`. Use the summary data to compose your own monthly update.

## Decide a takedown request

Confirm that approval is enabled for your account. A partner administrator with a verified email address can open the pending case under **Takedowns** in the dashboard. Under **Partner review**, choose **Approve request** or **Reject request** and confirm the decision.

### Decide through the API

Authenticate with an API key belonging to a partner administrator using `Authorization: Api-Key <key>`. Send requests to `https://app.nebty.de`. Store the API key in your integration’s secret store, separate from the webhook signing secret. [Get an API key](https://docs.nebty-id.com/api/access/#get-an-api-key)

| Method and path | What it does |
| - | - |
| `GET /core/api/partner/takedowns/?status=REQUESTED` | Lists pending requests across your partner’s brands. Add `brand=<brand UUID>` to filter and use `page` or `page_size` to paginate. |
| `POST /core/api/partner/takedowns/{id}/approve/` | Approves a pending request and starts work. The finding must still belong to the brand and an active, approved power of attorney is required. |
| `POST /core/api/partner/takedowns/{id}/reject/` | Declines a pending request. You can include a JSON body with a customer-facing `reason` of up to 2,000 characters. |

Use `data.id` from `takedown.requested` as the case `{id}`. Wait for manual review, payment or any other rule you enforce in your own system before sending a decision. An approved request moves to `OPEN`, and a rejected request moves to `REJECTED`. A request expires 14 days after submission and shows as `EXPIRED`.

Decisions on an inaccessible case return `404`. A `409` means the order has expired, has already been decided, or fails an approval check. Inspect `code` for `order_expired`, `order_not_pending`, `finding_required`, `poa_required` or `poa_not_approved`. Check the current case state before repeating a decision after an ambiguous response.
