Subscribers

Update subscriber online status

Update the subscriber online status by its unique key identifier subscriberId

patch/v1/subscribers/{subscriberId}/online-status

Request

  • Base URL: https://api.notifly.io
  • URL: https://api.notifly.io/v1/subscribers/{subscriberId}/online-status
  • Auth: API key in header Authorization

Path parameters

subscriberIdstring required

Request body

isOnlineboolean required

Response

OK

Example response

{
  "data": {
    "channels": [
      {
        "credentials": {
          "webhookUrl": "https://example.com/webhook",
          "channel": "general",
          "deviceTokens": [
            "token1",
            "token2",
            "token3"
          ],
          "alertUid": "12345-abcde",
          "title": "Critical Alert",
          "imageUrl": "https://example.com/image.png",
          "state": "resolved",
          "externalUrl": "https://example.com/details"
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.