List SMS for extension
Get a list of SMS messages for extension
Request
- Base URL: https://api.phone.com
- URL: https://api.phone.com/v4/accounts/{voip_id}/extensions/{extension_id}/sms
- 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
ID filter
1 when SMS is new; 0 when SMS has been read.
Caller ID filter, the E.164 phone number to send the SMS FROM. Note: you must encode the + as %2B, and the direction filter is required.
Callee ID filter, the E.164 phone number to send the SMS TO. Note you must encode the + as %2B, and the direction filter is required.
Direction filter, in or out
Date string representing the UTC time that sms was created. 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".
Date string representing the UTC time that sms was updated. 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".
Extension id where SMS is stored
only=deleted SMS; ignore=existing SMS; with=both deleted and existing SMS
Defines mode of the data output (brief or full)
Response
OK
Changes
No operation changes recorded.