question

Software Development avatar image
Software Development asked Yatin Gera Deactivated answered

Webhook receiving twice, only one active

I have a single webhook set up but am receiving two similar payloads in my callback.

When listing my subscriptions with the endpoint

restapi/v1.0/subscription

I see my single subscription with ID:

f23ba2df-b743-468e-8b68-0ead40791e0a

with a single event filter:

/restapi/v1.0/account/316936004/telephony/sessions?direction=Inbound

However, my endpoint receives this payload, and another at the same time from subscription ID:

08abe61a-1f24-4fbb-a83d-f05ca9f1c68c

I probably did set that webhook up at some point but it has since been deleted and no longer shows up in the subscription list, nor can I query for it or delete try to delete it again with the subscription ID directly. The response I receive is

Resource for parameter [subscriptionId] is not found

Is there something I am missing?

webhookssubscription
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Yatin Gera avatar image
Yatin Gera Deactivated answered

There probably is a stale subscription still living in the back end. This does not happen very frequently but I suggest raising a support ticket and the support team can help you get rid of this stale subscription

A support case can be raised at https://support.ringcentral.com/

Hope this helps

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys