device-tokens

Subscribe to topic

Subscribe device tokens to a topic for group notifications

post/device-tokens/notifications/subscribe-to-topic

Request

  • Base URL
    https://api.tonewow.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.tonewow.com/device-tokens/notifications/subscribe-to-topic
  • Auth
    none declared

Request body

deviceTokensstring[] required

Array of device tokens to subscribe

topicstring required

Topic name to subscribe to

Example request

{
  "deviceTokens": [
    "fcm_token_1",
    "fcm_token_2"
  ],
  "topic": "news"
}

Response

Successfully subscribed to topic

Changes

No recorded changes to this operation across all 6 revisions of this API.