Sending a single message to one or more recipients using HTTP api

In order to send a single message to one recipient, the request body must be as follows:

{
    "messages": [{
        "recipients": [
            "+39111222333"
        ],
        "quality": "H",
        "message": "this message will be sent to one recipient in high quality with an alias",
        "uuid": "xxxx-yyyy-zzzz",
        "sender": "123 ABC"
    }]
}

 

In order to send a single message to multiple recipients, the request body must be as follows:

{
    "messages": [{
        "recipients": [
            "+39111222333",
            "+39444555666",
            "+39777888999"
        ],
        "quality": "S",
        "message": "this message will be sent to three recipients in standard quality",
        "uuid": "xxxx-yyyy-zzzz"
    }]
}