Skip to content

Instantly share code, notes, and snippets.

@ZeldOcarina
Last active February 2, 2022 09:49
Show Gist options
  • Save ZeldOcarina/1ca3999f06e5fe0a24291736d3e7f6cd to your computer and use it in GitHub Desktop.
Save ZeldOcarina/1ca3999f06e5fe0a24291736d3e7f6cd to your computer and use it in GitHub Desktop.
/* on the headers add "Content/Type: application/json" and "Authorization [api_key] */
{
"event_name": event_name,
"contact": {
"email": email,
"first_name": first_name,
"last_name": last_name,
"phone_number": phone_number,
"custom_attributes": {
/* use uuids of the custom attribute here */
"7b438eca-d73b-ea11-a9a8-be86afc8905f": value
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment