Skip to content

Instantly share code, notes, and snippets.

@swooop
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

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

Select an option

Save swooop/e48cf0f2b2a63f6866df 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/$ID/managecontactlists \
-H "Content-Type: application/json" \
-d '{“ContactLists”:[{ “ListID”:list_id, “Action”:addnoforce}, { “ListID”:second_list_id, “Action”:addnoforce}, { “ListID”:another_list_id, “Action”:addnoforce} ]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment