Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get MailJet ID #37

Closed
plaeplia opened this issue Oct 19, 2015 · 1 comment
Closed

Get MailJet ID #37

plaeplia opened this issue Oct 19, 2015 · 1 comment

Comments

@plaeplia
Copy link

I know that I can generate and use a CustomID, but I would like to also save an ID that I become from MailJet after Send API request:

Request:
curl -X POST --user "xxx:yyy" https://api.mailjet.com/v3/send/message
-F from='Mr Mailjet fromEmail@email.com'
-F to=toEmail@email.com
-F subject='Hello World!'
-F text='Greetings from Mailjet.'

Response:

{
 "Count" : 1,
 "Data" : [
  { "ID" : 199999999999 }
 ],
 "Total" : 1
}

Is it possible to become this ID with Mailjet Java API Wrapper?

@arnaudbreton
Copy link
Contributor

Hi @plaeplia,

Thanks for your interest in Mailjet API. Please visit our API Guide about CustomID.

Hope it helps,
Arnaud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants