Events
Create
This endpoint streams events to Upmarket
POST
/
events
/
create
Every Event streamed to Upmarket must include a customer_id, and journey_id.
To get the customer_id
, use the customers/initialize endpoint.
journey_id
Get the journey_id from UpmarketHeader
x-upmarket-key
default: "xxxxxxxxxxxxxxxxxxx"required
This is the API Key you generated from Upmarket.
Body
journey_id
string
requiredId of the Journey this event is associated with.
customer_id
string
requiredThe customer this event is associated with.
event_id
string
requiredThis is the Event Id that you’re streaming to Upmarket. An example of an event_id
is sign_up
.
your_variables
string
Add custom variables to stream to Upmarket.
Response
success
string
Indicates that the event was saved successfully