Get message count
Returns the number of messages sent after the given timetoken. You can specify up to 100 channels in a single call.
- Channels without messages have a count of 0.
- Channels with 10,000 messages or more have a count of 10000.
Path Parameters |
---|
sub_key string — REQUIREDYour app's subscribe key from Admin Portal. Example:
|
channels string — REQUIREDThe channel names to perform the operation on. Example:
|
Query Parameters |
---|
timetoken number — REQUIREDA single timetoken to cover all channels passed-in on the request path. Value must be greater than or equal to 0 (zero). Required timetoken informationTo make a successful API call, you must provide either |
channelsTimetoken stringA comma-delimited list of timetokens, in order of the channels list, in the request path. If the list of timetokens is not the same length as the list of channels, a 400 bad request error will result. Value must be greater than or equal to 0 (zero). Required timetoken informationTo make a successful API call, you must provide either Example:
|
auth stringString which is either the auth key (PAM v2) or a valid token (Access Manager) used to authorize the operation if access control is enabled. Example:
|
uuid stringA UTF-8 encoded string of up to 92 characters used to identify the client. Example:
|
signature stringSignature used to verify that the request was signed with the secret key associated with the subscriber key. If Access Manager is enabled, either a valid authorization token or a signature are required. See Access Manager documentation for details on how to compute the signature. |
timestamp integerUnix epoch timestamp used as a nonce for signature computation. Must have no more than ± 60 second offset from NTP. Required if |
Responses | |||||
---|---|---|---|---|---|
200 OK
| |||||
400 The request was invalid.
| |||||
403 Do not have permission
|