Triggers
Track an event occuring within a business
POST
Use this endpoint to send events to Pocketflows and trigger the start of any active triggers. Events must be sent with data
which must contain a key "customer"
with a customer ID.
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
The name of the event
The data associated with the event
Response
200 - application/json
The response is of type object
.