Developers

  1. Home
  2. Docs
  3. Developers
  4. Example
  5. Long Text SMS

Long Text SMS

Request

POST /outbound/sms HTTP/1.1
Host: api.mexedia.com
Accept: application/json
Content-Type: application/json
Content-Length: 234
X-ApiKey: YOUR-API-KEY

{
    "from": "Buddy Holly",
    "to": 491712345678,
    "text": "Hi my best friend, what's up on your end?\nI wanna tell you the latest gossip, so get up and drop me a call! I promise, you won't trust your ears when you hear that!"
}

Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 145

{
    "statusCode": 0,
    "messageIds": [
        "f44afb66-04d4-4d24-962c-2ad63eba3c11",
        "14483b80-e521-4065-bfea-d55e63c37007"
    ]
}
Was this article helpful to you? Yes No

How can we help?