Skip to main content

Get recipients from list

GET https://www.lightsms.com/external/get/phone.php

Retrieve phone numbers from a specific contact list.

Use this endpoint to fetch recipients from your organized contact lists for campaign management.

Authorization​

This endpoint requires authentication using login, signature, and timestamp parameters.

See the Authentication documentation for more details.

AUTHORIZATION: HTTP

REQUEST

Base URL
https://www.lightsms.com
Query Parameters
loginREQUIRED
Your LightSMS account login
signatureREQUIRED
Request signature for authentication
baseREQUIRED
List ID (from /base.php response)
pageREQUIRED
Page number (100 recipients per page)
timestampREQUIRED
UTC timestamp of the request
return
Response format (json or xml)

RESPONSE

Recipients retrieved successfully
{
"37061234567": {
"name": "John",
"last_name": "Doe",
"middle_name": "",
"date_birth": "1990-05-15",
"male": "1",
"note1": "",
"note2": "",
"region": "",
"operator": ""
}
}