Config

List all sms

List sms collection.Returns a list of your Sms.

get/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

Response

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

idnumber required

Sms ID

Example response

[
  {
    "notification_category": "billing_and_payments",
    "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,
    "id": 1
  }
]

Changes

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