Event

Events are called when recording a specific action in the application. Events are specific to contacts defined by their unique_id

post
Create an event

https://api.salesmachine.io/v1/track/event
Request
Response
Request
Form Data Parameters
contact_uid
required
string
Unique identifier referring to a contact, it must match a unique ID in your application like database ID or email address.
event_uid
required
string
Event name.
params.account_uid
optional
string
Account id is a link to an account
params.display_name
optional
string
Human readable event name.
Response
200: OK
{status: "success"}

Example

curl -X POST -H "Content-Type: application/json" -u 'YOUR_API_TOKEN:' \
-d '{"contact_uid":"123456", "event_uid" : "user_registration", "params" : {"account_uid" : "78910", "display_name" : "Registration"}}' \
'https://api.salesmachine.io/v1/track/event'