Contacts are the foundation of the inwise platform. Two key fields can be used to create contacts: the email address or/and the mobile number.
Create or update contacts by using email address or/and mobile number.
You may add more additional data field (we call them personal fields) such as firs name, last name, birthdate etc.
You can add contacts to a specific contact group using the add_to_groups_ids object, and the key is the Group ID, you can find it in your inwise account.
This method returns the 1000 most recent contacts from your inwise account. As a result, a list of contacts will be generated with their personal fields.
search_by_updated_or_added_date=false – Don’t refer to the updated contacts, but only the created ones. limit=1000 – Return up to 1000 rows, which is the maximum possible. reset=false – Rows returned in previous reads will not be returned in future reads. Each time you make a call, you will only receive new contacts.
If everything goes well, you should get a success response (Response code 200) with a JSON body giving you the id of the contact created.
If you get (Response code 422) – Failed because of a conflict. Its mean that “The email exists for contact ID #439130785.The mobile number exists for contact ID #439134049.”