Skip to content

Instantly share code, notes, and snippets.

@swooop
Created February 10, 2015 16:25
Show Gist options
  • Select an option

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

Select an option

Save swooop/527e1fdeef756d451e2d to your computer and use it in GitHub Desktop.
curl -X GET --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contact/2
#or via email address:
curl -X GET --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contact/johnsmith@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment