Tracking Changes via the API

Do you also keep your contacts in a system of your own, such as your webshop or CRM? With change tracking, Inboxify keeps track of which contacts were created, updated, deleted or unsubscribed. Your own system retrieves those changes through the API. That keeps both systems in sync, also when a contact unsubscribes through a campaign, for example.

Switching on change tracking

  1. Click your initials in the top right and choose Settings.
  2. Choose API.
  3. Under Tracking, switch on Track changes.

The switch takes effect at once. Then choose:

  • Track changes for: All lists or a single list.
  • Exclude imports: contacts you import aren’t reported as newly created. Useful if you import your contacts from your own system in the first place.
  • Exclude API changes: changes your own system makes through the API aren’t reported. That way you don’t get your own changes back.

Retrieving the changes

There are four requests per list:

  • GET /contacts/{list}/created : created contacts;
  • GET /contacts/{list}/updated : updated contacts;
  • GET /contacts/{list}/deleted : deleted contacts;
  • GET /contacts/{list}/unsubscribed : unsubscribed contacts.

Each time, you get the changes since the previous request. Once you’ve retrieved a change, you won’t get it again. How to authenticate and what exactly you get back is described in the API documentation under Contacts REST API.

Note: Changes you don’t retrieve are deleted automatically after one week. So retrieve them at least once a week, for example with a task that runs every day.

You need an API user for this. Read How Do I Create an API User?