Amarseba API
Developer documentation
সেন্টারসমূহ
Pagination
List endpoints, such as batches, messages, groups and contacts, return one page at a time.
Query parameters
| Name | Description |
|---|---|
page | The page number, starting at 1. Default 1. |
per_page | Items per page, from 1 to 100. Default 25. |
GET https://e-amarseba.com/api/v1/bulk-sms/messages?status=failed&page=2&per_page=50
The pagination block
data holds the items as a list, and a top-level pagination object describes the page. Keep requesting the next page while has_more_pages is true.
{
"success": true,
"message": "Request successful",
"data": [
{ "message_id": "msg_01j8z3k6qa4b8c2d6e0f3g7h1j", "to": "8801712345678", "status": "failed", "refunded": true }
],
"code": 200,
"timestamp": "2026-09-26T10:00:00.000000Z",
"pagination": {
"current_page": 2,
"per_page": 50,
"total": 173,
"last_page": 4,
"has_more_pages": true,
"from": 51,
"to": 100
}
}