Questions? Feedback? powered by Olark live chat software

Newsman API Page

Newsman API » Newsman API 1.0 » Sms » sms.send

Newsman Api Method: sms.send

Prototype: sms.send($key, $account_id, $message, $to)

Description: Sends a SMS message over http API

Return: struct (Returns a list with entries of dict (phone, status, reason, send_id) for each recipient)

Variable Type Description
$key string API key
$account_id string
$message string the text content of the message
$to string the telephone number of the recipient

Curl Code Example

curl -H "Content-Type: application/json" -X POST -d @test_call.json https://cluster.newsmanapp.com/api/1.0/sms.send
 
{
  "key": "your_api_key",
  "account_id": "your_account_id",
 
  "message": "text message",
 
  "to": "07xxxxxxxx"
}