question

Roman Lunin avatar image
Roman Lunin asked Roman Lunin answered

WebHook has been created but never triggered

So I've just created a WebHook. When I retrieve a list of subscriptions the hook is in there and has status "Active". But when I send SMS it doesn't being triggered. My server access logs are empty.

What's the problem? .

public $uri =>

string(103) "https://platform.devtest.ringcentral.com/restapi/v1.0/subscription/364ca852-8404-48c0-a636-ad79c3d223ef"

public $id =>

string(36) "364ca852-8404-48c0-a636-ad79c3d223ef"

public $creationTime =>

string(24) "2021-03-17T09:07:36.549Z"

public $status =>

string(6) "Active"

public $eventFilters =>

array(1) {

[0] =>

string(82) "/restapi/v1.0/account/291360004/extension/291360004/message-store/instant?type=SMS"

}


public $expirationTime =>

string(24) "2031-03-15T09:07:36.549Z"

public $expiresIn =>

int(315358704)

public $deliveryMode =>

class stdClass#6711 (3) {

public $transportType =>

string(7) "WebHook"

public $encryption =>

bool(false)

public $address =>

string(56) "https://MY_DOMAIN/api/hooks/public/sms"

}


webhooks
1 |1500 characters needed characters left characters exceeded

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

Phong Vu avatar image
Phong Vu answered Shashwat Kumar commented

Quick check, where did you send the SMS message to? It must be the phone number that belong to this extension (id 291360004)

1 |1500 characters needed characters left characters exceeded

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

Roman Lunin avatar image
Roman Lunin answered

Okay found it, thanks!

1 |1500 characters needed characters left characters exceeded

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