List Messages for extension
This service is used to get messages for given filters for extension.
Request
- Base URL: https://api.phone.com
- URL: https://api.phone.com/v4/accounts/{voip_id}/extensions/{extension_id}/messages
- Auth: HTTP bearer
Path parameters
Query parameters
The number of items to skip before starting to collect the result set
The number of items to return
Sort response
Message ID filter
Message direction filter: in or out
Callee ID filter, the E.164 phone number to which Message was sent. Note you must encode the + as %2B
Caller ID filter, the E.164 phone number from which Message was sent. Note: you must encode the + as %2B
Account extension filter
Deleted filter: only=Gives only the not deleted messages; with=Gives the messages no matter if they are deleted; ignore=Gives only the soft deleted messages;
Read filter: only=Gives only the not deleted messages; with=Gives the messages no matter if they are deleted; ignore=Gives only the soft deleted messages;
Conversation ID filter
Updated At filter. Expected value is UNIX timestamp with operator like "gt" (greater than), "gte" (greater than or equals), "lt" (lesser than), "lte" (lesser than or equals). Example: "gt:1597778180".
Created At filter. Expected value is UNIX timestamp with operator like "gt" (greater than), "gte" (greater than or equals), "lt" (lesser than), "lte" (lesser than or equals). Example: "gt:1597778180".
Archived At filter
Created after filter
Created before filter
Updated after filter
Updated before filter
Defines mode of the data output (brief or full)
Response
OK
Changes
No operation changes recorded.