querySmsCount
Returns the number of SMS messages that match the query.
This method supports the semantics of search queries.
Request
HEAD https://api.bytehand.com/v2/sms/messages
Parameters
Query Parameters | |
---|---|
query | string Optional parameter. Search query. Use special language for writing queries. Valid search fields are determined by the type of objects being searched. Default is empty query that matches all objects. |
Authorization
Requires authorization and access right sms_view.
Response
This method returns additional data in the headers of the HTTP response, read more in the section search queries.
Example
Request
HEAD https://api.bytehand.com/v2/sms/messages?query=from%3AMyShop X-Service-Key: ZO0XJngUXZKjlcFNpzXBbw4UriheYwlc
Response
Status Code: 200 Content-Range: Sms */518 Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache