Skip to main content
POST
Send an Event

Authorizations

token
string
header
required

Your Youverify API secret key. Never expose client-side.

Headers

token
string
required

API secret token

Body

application/json
eventType
enum<string>
required

Type of event.

Available options:
transaction,
account_activity,
onboarding
eventStatus
enum<string>
required

Status of the event. Only triggering statuses start evaluations; others are stored without a run.

Available options:
acknowledged,
pending,
completed,
attempted,
successful,
requested,
issued,
activated,
frozen,
suspended,
unfrozen,
pin_changed,
closed,
canceled,
failed
data
object
required

Event payload, validated per eventType. Fields below are for a transaction event.

schemaVersion
string

Version of the event schema.

Example:

"1.2"

externalEventId
string

Your own identifier for the event.

lifecycleId
string

Optional id that connects related events. We never generate it; events without one are connected to no other event.

metadata
object

Free-form metadata about the event.

eventCategory
string

Category used to select the live TM workflows to run (for transaction and account_activity events).

Example:

"finance"

Response

Event accepted

success
boolean
statusCode
integer
message
string
data
object