package
0.5.6
Repository: https://github.com/grokify/rchooks.git
Documentation: pkg.go.dev

# README

RCHooks - RingCentral Webhook Keepalive Lambda Function

Keepalive Lambda Function

Installation

Build the lambda function and then upload to AWS:

$ go get github.com/grokify/rchooks
$ cd $GOPATH/src/github.com/grokify/rchooks/apps/keepalive_lambda
$ sh build_lambda.sh

Set the following enviroment variables:

VariableDescription
RINGCENTRAL_TOKEN_JSONPermanent token
RINGCENTRAL_SERVER_URLAPI Server URL, e.g. https://platform.ringcentral.com
RINGCENTRAL_WEBHOOK_DEFINITION_JSONWebhook definition, e.g. create webhook request

Configuration

Add a CloudWatch Event Rule with this Lambda function as the target.

Notes

Blacklist Reasons

  • I/O operation is failed. Details: [Read timed out]
  • Webhook response exceeds max size. Read bytes count: [1024]
  • Webhook responses with code: [404], reason: [Not Found]