Developers

  1. Home
  2. Docs
  3. Developers
  4. Example
  5. Binary SMS

Binary SMS

In this example we send a vCard.

Request

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

{
    "from": "Buddy Holly",
    "to": 491712345678,
    "encoding": "Binary",
    "udh": "06050423F40000",
    "text": "BEGIN:VCARD\nVERSION:2.1\nN:Gump;Forrest\nFN:Forrest Gump\nORG:Bubba Gump Shrimps Ltd.\nTEL;type=WORK:+49 171 234 567 8\nEND:VCARD"
}

Response

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

{
    "statusCode": 0,
    "messageIds": ["68f3740d-46f9-44d2-bcf4-a696d318ec71"]
}
Was this article helpful to you? Yes No

How can we help?