API Reference

Learn how to access UNLOQ end points

GET /sms/providers/:id/messages

Get a list of all messages for the current provider

GET https://api.unloq.io/v1/sms/providers/:id/messages
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
URL parameters
  • id (string, required) - The provider id.
Result format (200 OK)
{
  "type": "api.application.sms.provider.message.find",
  "meta": {
    "total_count": 1,
    "page_count": 1,
    "current_count": 1,
    "current_page": 1
  },
  "result": [
    {
      "id": "12345678",
      "phone_number": "12345678",
      "message": "Random message text",
      "status": "SUCCESS",
      "template_id": "12345678"
    }
  ]
}
      

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.