curl -u "{username}:{password}" \
--header "Content-Type: application/json" \
--request POST \
--data '{"from":"{from_TN}","accountId" : "{account-uuid}","to": "{to_TN}","body":"test"}' \
https://msgapi.messagepro.com/smsmms/v3/messages
POST https://msgapi.messagepro.com/smsmms/v3/messages
{
"from":"{from_TN}",
"accountId":"{account_uuid}",
"to":"{to_TN}",
"body":"test"
}
RESPONSE>>
{
"statusUri":"",
"data":{
"accountId":"{account_uuid}",
"apiVersion":"v3",
"messageInfo":[
{
"result":"pass",
"optStatus":"notIn",
"dateCreated":"2019-03-29T17:57:46.597+0000",
"numSegments":1,
"to":"{to_TN}",
"body":"test",
"uuid":"0cd40b93-aabb-4690-92ae-339587f6bdb4",
"status":"accepted"
}
],
"from":"{from_TN}",
"optLogic":true,
"to":"{to_TN}",
"body":"test",
"bulk":false
},
"statusMessage":"Message Create Successful",
"status":"MessageCreateSuccessful",
"statusCode":"200"
}