אקסטרה
  1. SMS
אקסטרה
  • Calls
    • /calls/
      POST
    • /calls/get-recording-urls/
      POST
    • /click2call/
      GET
    • /calls/recording/
      GET
  • SMS
    • /sms/send/
      POST
  • Authorization
    • /auth/key/
      GET
  1. SMS

/sms/send/

POST
https://www.exm.co.il/api/v1/sms/send/
Send a single SMS message to an Israeli sms-capable number, ie: non-Kosher mobile lines.
Outgoing messages are monitored for spam and phishing attempts and we will immediately BLOCK an account that use this method for illegal purposes.
NOTICE
In order to use this method and send SMS messages, a user should fill out KYC forms first and agree to legal terms and to billing terms.
Contact support to sort this and to get access to this method.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.exm.co.il/api/v1/sms/send/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "message": "Hello World",
    "destination": "0551234567",
    "sender": "ExtraMobile"
}'
Response Response Example
Success
{
    "success": true,
    "id": "xnAbiS1b"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Content-Type
enum<string> 
required
Allowed value:
application/json
Body Params application/json
message
string 
required
The sms body
Example:
Hello World
destination
string 
required
Israeli sms-enabled phone number to send the text message to
Examples:
0551234567055-1234567972551234567+972551234567
sender
string 
required
Must be a valid identity showing in your account's 'verified identities' tab
Examples:
ExtraMobile077-80380380551234567
Examples

Responses

🟢200Success
application/json
Body
success
boolean 
required
Indicates whether the message was queued to be sent or not
id
string 
optional
if successfull, holds a unique if of the message for reference
Example:
xnAbiS1b
messages_count
object 
required
sent
integer 
required
number of messages sent in this send
charged
integer 
required
number of messages charged in this send
errors
array [object {3}] 
optional
only if failed
id
string 
required
Reference to the name of the parameter the error was found in.
Examples:
messagedestinationsender
code
string 
required
Numeric code of the error.
Example:
7321
description
string 
required
Friendly description of the error.
Example:
message is missing
Modified at 2025-02-10 14:32:09
Previous
/calls/recording/
Next
/auth/key/
Built with