Skip to content

Instantly share code, notes, and snippets.

@swooop
Created February 11, 2015 17:50
Show Gist options
  • Select an option

  • Save swooop/b9b26ce247df39af08ff to your computer and use it in GitHub Desktop.

Select an option

Save swooop/b9b26ce247df39af08ff to your computer and use it in GitHub Desktop.
curl -X POST --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contact/managemanycontacts \
-H "Content-Type: application/json" \
-d "{ 'Contacts':[{'Email':'jimsmith@example.com', 'Name':'Jim', 'Properties':{'Property1':value, 'Property2':value2}}, {'Email':'janetdoe@example.com', 'Name':'Janet', 'Properties': {'Property1': value, 'Property2': value2}}]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment