# AI post idea generated

**Event:** `idea.generated`

**Event name:** `idea.generated`

A new AI post idea was generated. Scope: local or social (see the top-level scope field). Delivered as a signed HTTP POST to your Webhooks URL.

Source: https://developer.synup.com/webhooks/idea-generated

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Synup-Signature` | string | required | sha256=base64(HMAC-SHA256(signing_secret, raw_request_body)). Verify with your signing secret before processing; reject on mismatch. |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `event` | string | optional | Dotted event name. |
| `timestamp` | string | optional | ISO-8601 UTC time the event was emitted. |
| `account_id` | integer | optional | Synup account the event belongs to. |
| `location_id` | string | optional | Numeric string for location-scoped events; null for brand-scoped events. |
| `scope` | string | optional | AI post-idea events only: "local" or "social". |
| `data` | object | optional |  |
| `data.idea_id` | string | optional | Idea id. |
| `data.source` | string | optional | How the idea was generated. |
| `data.idea_summary` | object | optional | Summary: title, content_excerpt, image_url. |
| `data.generation_batch_id` | string | optional | Batch this idea belongs to. |
| `data.social_profile_id` | string | optional | Brand/social-profile id (scope:"social" only). |

## Responses

| Status | Description |
| --- | --- |
| `200` | Your endpoint acknowledges receipt with any 2xx. A non-2xx response or a timeout (>10s) is treated as a failed delivery. |
