Config

Create and add Sms to queue for sending

List sms collection.Creates a new Sms and add to queue for sending.

post/admin/config/sms

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/config/sms
  • Auth: HTTP basic

Request body

typestring required

Sms type: 'message', 'test', 'monitoring', 'add-on', 'ticket'.

message_idnumber

Message ID.

customer_idnumber

Customer ID.

statusstring

Sms status: 'new', 'sending', 'sent', 'error', 'expired'. Default value 'new'.

prioritynumber

Sms priority: 1 - Low, 2 - Medium, 3 - High. Default: 2

datetime_addedstring

Added datetime. Format: 'YYYY-MM-DD HH:MM:SS'.

datetime_start_sendingstring

Sending datetime. Format: 'YYYY-MM-DD HH:MM:SS'.

datetime_sentstring

Sent datetime. Format: 'YYYY-MM-DD HH:MM:SS'.

recipientstring required

Recipient phone.

messagestring required

Sms message.

admin_idnumber

Admin ID.

notification_category'billing_and_payments' | 'service_and_support' | 'promotions_and_offers' | 'sub_accounts' | 'account_and_security' | 'administrative_notification' nullable

Customer notification

Example request

{
  "type": "message",
  "message_id": 10,
  "customer_id": 1,
  "status": "sent",
  "priority": 2,
  "datetime_added": "2017-01-01 00:00:00",
  "datetime_start_sending": "2017-01-01 00:00:00",
  "datetime_sent": "2017-01-01 00:00:00",
  "recipient": "38094736578",
  "message": "Sms message.",
  "admin_id": 1,
  "notification_category": "billing_and_payments"
}

Response

idnumber required

Sms ID

Example response

{
  "id": 1
}

Changes

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