List push tokens for channel v2

List push tokens for a channel.

Returns array with two elements:

  • Array Element 0 - Integer – 1 or 0, where 1 is success, and 0 is error.
  • Array Element 1 - String – Description of the success or error, if available. e.g "Modified Channels"
Path Parameters
sub_key string REQUIRED

Your app's subscribe key from Admin Portal.

channel string REQUIRED

The channel name to perform the operation on.

Example: myChannel

Query Parameters
type string

Possible values: [apns]

Backend indicator (apns for apple)

Example: apns

environment string REQUIRED

Possible values: [development, production]

Environment of the mobile application.

Example: development

topic string REQUIRED

Bundle ID of the mobile application.

Example: com.my.app.Application

start string

Starting push token for pagination. Use the last push token from previous page request.

count integer

Number of push tokens to return for pagination. Max of 1000 tokens at a time. Defaults to 100.

uuid string REQUIRED

A UTF-8 encoded string of up to 64 characters used to identify the client.

Example: myUniqueUserId

signature string

Signature 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 integer

Unix epoch timestamp used as a nonce for signature computation. Must have no more than ± 60 seconds offset from NTP.

Required if signature parameter is supplied.

Responses
200

OK

Schema OPTIONAL
undefined[]
400

Bad Request

Schema OPTIONAL
undefined
403

Not Enabled

Schema OPTIONAL
error string OPTIONAL
404

Channels Missing

Schema OPTIONAL
error string OPTIONAL
500

Server Error

Schema OPTIONAL
error string OPTIONAL
503

Service Unavailable

Schema OPTIONAL
error string OPTIONAL