Documentation

Pub/Sub Subscribers API


Returns a list of device tokens subscribed to a certain topic.

API Endpoint


GET https://api.pushy.me/topics/TOPIC?api_key=SECRET_API_KEY

Make sure to replace SECRET_API_KEY with your app's Secret API Key listed in the Dashboard.

Note: This is a backend API endpoint. Never expose your application's Secret API Key in your client code.

Sample Response

Successful Response Example

{
    "subscribers": [
        "a3bc47808cfd31c1a66517",
        "40f3073bb387e3829d01f6"
    ]
}

Failure Response Example

{"error":"We could not find an app with the specified API key."}