List Message
GET {{2010-04-01-Accounts-AccountSid-Messages.json-Url}}/2010-04-01/Accounts/:AccountSid/Messages.json?To=laboris cillum sunt&From=laboris cillum sunt&DateSent=1975-09-13T06:31:51.735Z&DateSent<=1975-09-13T06:31:51.735Z&DateSent>=1975-09-13T06:31:51.735Z&PageSize=303
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
To | string | Read messages sent to only this phone number. | |
From | string | Read messages sent from only this phone number or alphanumeric sender ID. | |
DateSent | string | The date of the messages to show. Specify a date as YYYY-MM-DD in GMT to read only messages sent on this date. For example: 2009-07-06 . You can also specify an inequality, such as DateSent<=YYYY-MM-DD , to read messages sent on or before midnight on a date, and DateSent>=YYYY-MM-DD to read messages sent on or after midnight on a date. | |
DateSent< | string | The date of the messages to show. Specify a date as YYYY-MM-DD in GMT to read only messages sent on this date. For example: 2009-07-06 . You can also specify an inequality, such as DateSent<=YYYY-MM-DD , to read messages sent on or before midnight on a date, and DateSent>=YYYY-MM-DD to read messages sent on or after midnight on a date. | |
DateSent> | string | The date of the messages to show. Specify a date as YYYY-MM-DD in GMT to read only messages sent on this date. For example: 2009-07-06 . You can also specify an inequality, such as DateSent<=YYYY-MM-DD , to read messages sent on or before midnight on a date, and DateSent>=YYYY-MM-DD to read messages sent on or after midnight on a date. | |
PageSize | number | How many resources to return in each list page. The default is 50, and the maximum is 1000. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"messages":[{"body":"eu culpa amet","num_segments":"eiusmod veniam incididunt consectetur Duis","direction":"outbound-api","from":"","to":"Excepteur pariatur irure dolor","date_updated":"est labore","price":"dolore nulla","error_message":"et pariatur incididunt officia","uri":"cupidatat consequat culpa","account_sid":"AC5490FfA03bAa0F54a60E5b5a992B2Af7","num_media":"et dolor elit cillum","status":"failed","messaging_service_sid":"MGbAC3CB7DFa92f6ab6fdff9B9083cCB50","sid":"MMC501a83dE4A17AA6cfa0Ccc81A1ac43e","date_sent":"fugiat nulla ut","date_created":"pariatur","error_code":-59812853,"price_unit":"adipisicing occ","api_version":"eiusmod quis sunt esse","subresource_uris":{}},{"body":"do qui dolore","num_segments":"el","direction":"outbound-reply","from":"do esse pariatur ea id","to":"nulla amet mollit Excepteur","date_updated":"id amet esse","price":"ut","error_message":"ipsum","uri":"nulla labore","account_sid":"ACfCF0EfEFD4C4eAbF570F3685b6D24f8C","num_media":"aliqua anim id","status":"failed","messaging_service_sid":"MGc2F625dAA8b251b4d855bC5f0bDaC357","sid":"MMc3c3cD4BdF2BFF0accC48F25fE494Ce5","date_sent":"occaecat","date_created":"id","error_code":-99797469,"price_unit":"offici","api_version":"nulla aute aliquip labore","subresource_uris":{}}],"end":25547349,"first_page_uri":"http://FMmwLfRCtuVSpxUUYgeSYFVekbwD.epk7uvb6bB9","next_page_uri":"https://wbAuITtDlabMrMkfeFELBfny.fkhs-pzGdsssnIa3Kv1yoQc","page":7039554,"page_size":90463034,"previous_page_uri":"http://tiKPLpIxXlnWjMCnRMSmdT.kulhIsAi.ZJJRHJDkxRsKoA9lih16U8wXW58mZuyCOjIcUTjHOF3MHci0g2ETxU7VGyUqzUjpUlBN3w5mbnXd4fKxAyM8jQ","start":-48559144,"uri":"https://AbxKTFnCBnDSFkIky.crKFbZo"}