Upload Contacts

Uploads a csv file that will be populated as contacts in the system.

The first line will be the header, which will map to extData fields on the contact

phonenumber1,firstname,lastname,candy
+17148675309,Jenny,Doe,red hots
+17148675310,John,Doe,snickers

There is an optional conflictMode variable that can be passed when uploading a list. This value can be REJECT (default), APPEND, OVERWRITE, or REPLACE. Modes:

  • REJECT The new data is rejected. The existing data is preserved. This will generate an error.
  • REPLACE The new data is inserted. Existing data is removed.
  • APPEND New data is inserted. Existing data is preserved. Key conflicts keep the old data.
  • OVERWRITE New data is inserted. Existing data is preserved unless there is a key conflict where it is replaced.
Language
URL
Click Try It! to start a request and see the response here!