latestSwagger 2.02026-08-101561322.2 MB
3e4029d19684
Outbound Message Sessions
Get all sessions
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Sessions/getAllMessageSessions" target="_blank">Try in sandbox</a><br>Get all message sending sessions.
This list contains all of your sessions, including those which were sent but not via API
get/api/v2/sessions
Query parameters
pageinteger
Fetch specified results page.
limitinteger
The number of results per page.
Response
Returned when successful.
Example response
{
"page": 1,
"pageCount": 10,
"limit": 10,
"resources": [
{
"id": 4991,
"startTime": "2015-06-19T09:48:24+0000",
"text": "Hello {First name}!",
"source": "O",
"referenceId": "my_reference_id_4991",
"price": 3.45,
"numbersCount": 18,
"destination": "t",
"initiatorId": 305
}
]
}