A2PGetSmsHistory
Gets the history of sent/or received A2P SMS.
Allowed roles: Owner, Admin, CallsSMS.
Example request: Get messages that had been sent to number 12345678222 starting from March 1, 2019. Number of resulting rows is limited to 2.
Authentication
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:
Authorization: Bearer $VOXIMPLANT_TOKEN
See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.
Query parameters
The first N records are skipped in the output
Date from which the search is to start. Format is 'yyyy-MM-dd HH:mm:ss', time zone is UTC
Date from which the search is to end. Format is 'yyyy-MM-dd HH:mm:ss', time zone is UTC
The output format. The following values available: json, csv, xls. The default value is json
The delivery status ID: QUEUED - 1, DISPATCHED - 2, ABORTED - 3, REJECTED - 4, DELIVERED - 5, FAILED - 6, EXPIRED - 7, UNKNOWN - 8