API Reference

Learn how to access UNLOQ end points

GET /sms/templates

Find all the saved templates

GET https://api.unloq.io/v1/sms/templates
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
Result format (200 OK)
{
  "type": "api.application.sms.template.find",
  "meta": {
    "total_count": 13,
    "page_count": 2,
    "current_count": 10,
    "current_page": 1
  },
  "result": [
    {
      "code": "transaction",
      "code_size": 6,
      "code_alpha": true,
      "code_numeric": true,
      "code_lowercase": false,
      "code_uppercase": true,
      "hide_phone_number": true,
      "duration": 30,
      "created_at": "2017-12-18T11:13:14.000Z",
      "application_id": "5"
    },
    {
      "code": "login",
      "code_size": 8,
      "code_alpha": false,
      "code_numeric": true,
      "code_lowercase": true,
      "code_uppercase": false,
      "hide_phone_number": false,
      "duration": 30,
      "created_at": "2017-12-14T13:49:11.000Z",
      "application_id": "5"
    }]
}
      

Have a question? You can always send us an email at support@unloq.io, or contact us on chat.

For security related concerns, please visit our Security page.