Webhook map
contentcontentIndexed(content.contentIndexed)
searchsearchAlert(search.searchAlert)
websetwebsetItemsFound(webset.websetItemsFound)websetSearchCompleted(webset.websetSearchCompleted)
HTTP handler setup
app/api/webhook/route.ts
Events
Content
Content Indexed
content.contentIndexed
A new web page has been indexed by Exa
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | content.indexed | Yes | — |
id | string | Yes | — |
created_at | string | Yes | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Search
Search Alert
search.searchAlert
A monitored search query has new matching results
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | search.alert | Yes | — |
id | string | Yes | — |
created_at | string | Yes | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Webset
Webset Items Found
webset.websetItemsFound
New items were found for a webset search
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | webset.items_found | Yes | — |
id | string | Yes | — |
created_at | string | Yes | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Webset Search Completed
webset.websetSearchCompleted
A webset search has completed
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | webset.search.completed | Yes | — |
id | string | Yes | — |
created_at | string | Yes | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example