Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Subscriptions API

    Posted 06-05-2025 18:21

    Krutika | 2022-03-07 02:57:18 UTC | #1

    For the subscriptions API We tried to capture the events through Websocket for some test cases like inbound call/messages but we are getting an only one message.

    "{"topicName": "channel.metadata", "eventBody": {"message": "WebSocket Heartbeat"}}".

    Below are the steps which we are following for the subscription API

    1] I have subscribed to the channel

    2]POST /api/v2/notifications/channels/{channelId}/subscriptions

    3] GET /api/v2/notifications/channels/{channelId}/subscriptions

    4]Made an one inbound call to check what are the events are generating in the websocket

    "{"topicName": "channel.metadata", "eventBody": {"message": "WebSocket Heartbeat"}}"


    anon11147534 | 2022-03-07 15:55:20 UTC | #2

    Hi,

    That message is a heartbeat and can be ignored. Please review this article on using the notification service. You can use the notifications developer tool to view the notifications on your chosen topic. If messages come in using the tool but not your application then there is an error in your application logic. If you are sure that you are subscribing to the correct channel with the proper ID then please create a ticket with Care to investigate.


    system | 2022-04-07 15:56:12 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 13818