API referenceWebhooksEvents

create_event

POST /v1/events: records an event of your own, such as a manual review.

POST
/v1/events

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

FieldTypeDescription
typerequiredstring

custom. and your own name, in lower-case letters, digits, _ and dots, such as custom.contract_signed.

business_idstring
dataobject

Responses

The event.

FieldTypeDescription
idstring
typestring
business_idstring or null

Examples

Example Request
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"}