API reference · version 1.0.0Fusio · public API
Loading the address list…
Addresses in this part
A short list of addresses. Click an address and we show it to you above.
- get/v1/contacts/optionsList contacts for a pickerReturns contacts as short items for a picker, with the email, phone and lead of each. Use it to find a contact before you link it to a lead or a deal.
- get/v1/contacts/{contact}/segmentsList the segments of a contactReturns the segments the contact is in.
- get/v1/contacts/{contact}/tagsList the tags of a contactReturns the tags the contact has.
- post/v1/contacts/{contact}/sync-segmentsSet the segments of a contactPuts the contact in exactly these segments. An empty list takes it out of all segments. The answer has no data.
- post/v1/contacts/{contact}/sync-tagsSet the tags of a contactGives the contact exactly these tags. An empty list takes all tags off. The answer has no data.
- get/v1/contacts/{contact}/custom-fieldsList the custom fields of a contactReturns the values of your custom fields on the contact, each with the field it belongs to.
- post/v1/contacts/{contact}/sync-custom-fieldsSet the custom fields of a contactSets the values of your custom fields on the contact. The list replaces all values: a field you leave out loses its value. The answer has no data.
- get/v1/contacts/{contact}/analyticsShow how a contact reacts to emailsReturns the numbers and the history of the contact: sent, opened and clicked emails and web visits. The person behind the key needs the right to see analytics of contacts.
- get/v1/contacts/{contact}/analytics/historyList the history of a contact page by pageReturns the events of the contact, newest first, one page at a time. Send next_cursor back as cursor to get the next page. The person behind the key needs the right to see analytics of contacts.
- get/v1/contacts/{contact}/analytics/timeseriesCount the emails of a contact by dayReturns one item for each day with the sent, opened and clicked emails of the contact. The person behind the key needs the right to see analytics of contacts.
- get/v1/contacts/{contact}/campaignsList the campaigns that emailed a contactReturns the campaigns that sent an email to the contact, newest first. The person behind the key needs the right to see analytics of contacts.
- get/v1/contacts/{contact}/emailsList the personal emails of a contactReturns the personal emails of the contact in four parts: sequences, planned emails, drafts and conversations. Each part has its own page. To read more of one part, send its value from nextCursor back as the matching cursor.
- post/v1/contactsAdd a contactAdds a person and links them to a lead. Send leadId for a company you already have, or lead to make a new lead too. Sending lead needs leads.write.
- get/v1/contacts/{contact}Show a contactReturns the contact with its lead, segments, tags, custom fields and consent.
- put/v1/contacts/{contact}Change a contactChanges the contact and returns it. Always send id, type and an email or a phone. Other fields you leave out keep their value.
- delete/v1/contacts/{contact}Delete a contactDeletes the contact and takes it off its lead. When it was the main contact, the oldest other contact of the lead becomes the main one. The answer has no data.