mailjet-gem icon indicating copy to clipboard operation
mailjet-gem copied to clipboard

Support for API v4 - SMS API

Open jeremylynch opened this issue 2 years ago • 1 comments

Is there a roadmap of when this will be available?

jeremylynch avatar Mar 02 '22 01:03 jeremylynch

Fortunately, it is very easy to do this with Httparty:

HTTParty.post("https://api.mailjet.com/v4/sms-send",
  body: {
    Text: "Have a nice SMS flight with Mailjet !",
    To: "+61412345678",
    From: "From"
  }.to_json,
  :headers => {
    'Content-Type' => 'application/json',
    "Authorization" => "Bearer #{oath_token}"
  }
)

jeremylynch avatar Jul 01 '22 14:07 jeremylynch

The SMS feature is planned to be deprecated on Mailjet. Support for API isn't planned to be added to the gem. Closing.

Retttro avatar Jun 21 '23 14:06 Retttro