Skip to main content
The First Step
March 17, 2021
Solved

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"

}


PhongVu
PhongVuAnswer
Community Manager
March 17, 2021

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

3 replies

PhongVu
Community Manager
PhongVuAnswer
Community Manager
March 17, 2021

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

The First Step
March 18, 2021

Okay found it, thanks!

New Participant
June 8, 2021

Hi Phong,

Im having the same issue. I have created subscription in sandbox for inbound sms event, but it is not triggering the webhook when I send a message to the number that belongs to the extension. Im able to send sms, Im also receiving sms on my softphone, but the webhook is never triggered.