---
title: "Push Ai Referrals Events"
method: POST
path: "/{brand_id}/ai-referrals/connections/{connection_id}/events"
tags: ["ai-referrals"]
---

# Push Ai Referrals Events

`POST /{brand_id}/ai-referrals/connections/{connection_id}/events`

## Request

- Base URL: `https://api.scrunchai.com/v1`
- URL: `https://api.scrunchai.com/v1/{brand_id}/ai-referrals/connections/{connection_id}/events`
- Auth: HTTP bearer

Push pre-aggregated daily rows as a JSON array or NDJSON. Re-sending a (date, raw_referrer_value, raw_page_value) replaces its values. Referrers that aren't AI assistants are counted as rejected.

## Path parameters

- `brand_id` integer, required
- `connection_id` string, required

## Response `200`

Successful Response

- PushResultModel
  - `accepted` integer, required
  - `rejected` integer, required
  - `errors` string[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-04** `de4fc679600a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scrunchai/apis/scrunch-data-api/changes/:brand_id/ai-referrals/connections/:connection_id/events/post.md)

---

[API](https://skmtc.dev/scrunchai/apis/scrunch-data-api.md) - [All operations](https://skmtc.dev/scrunchai/apis/scrunch-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrunchai/apis/scrunch-data-api/revisions/de4fc679600a?raw)
