API referenceWebhooksEvents
create_event
POST /v1/events: records an event of your own, such as a manual review.
POST
Records an event of your own, such as a manual review. Its type starts with custom.; it's sent to webhooks like Finic's.
Request body
application/json
| Field | Type | Description |
|---|---|---|
typerequired | string |
|
business_id | string | |
data | object |
Responses
The event.
| Field | Type | Description |
|---|---|---|
id | string | |
type | string | |
business_id | string or null |
| Status | Type and when |
|---|---|
400 |
|
401 |
|
Every error has the same shape; see Errors.
Examples
curl -X POST 'https://api.finic.ai/v1/events' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "type": "custom.call_completed", "business_id": "biz_01M4Z3Q8T6V2K9XR5HN7D1BCWE", "data": { "outcome": "owner_confirmed" }}'Example Response
{ "id": "string", "type": "string", "business_id": "string"}