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
Request
- Base URLhttps://rest.textmagic.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
}
]
}Changes
No recorded changes to this operation across all 4 revisions of this API.