API version 2.0
Tracking API
Contact
1 min
contacts can be created or updated via a post method which accepts a json object describing the contact contacts not found via contact uid will be created, and those that are found will be updated { "name" "create or update a contact", "method" "post", "url" "https //api salesmachine io/v1/contact", "description" " ", "tab" "examples", "examples" { "languages" \[ { "id" "lsj2sm3exh0152pxu5bc3", "language" "curl", "code" "\ncurl x post h \\"content type application/json\\" \\\\\n d '{\\"contact uid\\" \\"123456\\", \\"params\\" { \\"email\\" \\"elon\@teslamotors com\\", \\"name\\" \\"elon musk\\", \\"gender\\" \\"male\\", \\"mrr\\" 99, \\"account uid\\" \\"78910\\" }}' \\\\\n'https //api successeve com/v1/contact?api token=\<your api token>'", "customlabel" "" } ], "selectedlanguageid" "lsj2sm3exh0152pxu5bc3" }, "results" { "languages" \[ { "id" "s5jjn0vfsh4vsnqhidkwc", "language" "200", "customlabel" "", "code" "{status \\"success\\"}" } ], "selectedlanguageid" "s5jjn0vfsh4vsnqhidkwc" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "contact uid", "kind" "required", "type" "string", "description" "the contact unique id you have defined for the contact " }, { "name" "params email", "kind" "optional", "type" "string", "description" "contact email", "children" \[] }, { "name" "params name", "kind" "optional", "type" "string", "description" "contact fullname", "children" \[] }, { "name" "params account uid", "kind" "optional", "type" "string", "description" "unique id of a linked account", "children" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }