require 'net/http'
require 'uri'
require 'json'

uri = URI.parse("https://app.yellikasms.com/api/v3/sms/send")
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Post.new(uri.path,
  {'Accept' => 'application/json',
   'Authorization' => 'Bearer XXXX-VOTRE-TOKEN--ICI-XXXX',
   'Content-Type' => 'application/json'})
request.body = {
  "recipient" => "225++++++",
  "sender_id" => "XXX-SENDER-ID-ICI-XXX",
  "type" => "plain",
  "message" => "MESSAGE-ICI"
}.to_json

response = http.request(request)
puts response.body