SMS

Send an SMS

Send one or more SMS

get/sms/

Request

  • Base URL: http://api.smsfusion.com.au
  • URL: http://api.smsfusion.com.au/sms/
  • Auth: one of:
    • API key in query parameter key
    • HTTP basic

Query parameters

keystring required

API Key as generated from the <a href='https://www.smsfusion.com.au/admin/api/'>admin panel</a>

numstring[] required

Comma separated list of phone numbers or <a href='https://www.smsfusion.com.au/help/msisdn/'>MSDISDN</a>'s

msgstring string required

The contents of the SMS you wish to send

fromstring

A single phone number or <a href='https://www.smsfusion.com.au/help/msisdn/'>MSDISDN</a>

ccstring string

2 character country code <a href='https://en.wikipedia.org/wiki/ISO_3166-2'>ISO 3166-2</a> for formatting local numbers internationally

deliverbystring

UTC encoded time to send the SMS

dlrcbstring

HTTP or HTTPS <a href='https://www.smsfusion.com.au/help/dlr-callback/'>callback URL for delivery reports</a>. Timeout for callbacks is set to 30 seconds

replycbstring

HTTP or HTTPS <a href='https://www.smsfusion.com.au/help/reply-callback/'>callback URL for replies</a>. Timeout for callbacks is set to 30 seconds

replyemailstring

Email address to send replies to

validityinteger

Time in minutes to keep the SMS valid for

Response

The message(s) have been queued where possible

idstring

Unique ID for response

successinteger

Count of queued SMS

costnumber float

Cost of the SMS

countinteger

Total count of SMS queued

failurestring[]

List of failed numbers

Example response

{
  "id": "13Cy205d697R"
}

Changes

No recorded changes to this operation across all 1 revision of this API.