Libraries and Samples

Interacting with the Layer Webhooks API is possible from every language and platform that can run a web server. There are samples and libraries that may help to build a complete Webhooks solution.

Note

No guarantee is made as to the scalability of these libraries and samples

Language Library Description
JavaScript layer-webhooks Node.js library for interacting with the Webhook REST API.
JavaScript layer-webhooks-services Node.js library for creating webhooks, and processing events via an express server.
JavaScript layer-webhooks-services-sendgrid Node.js library for creating webhooks that email a user when a message is unread, and posts emailed replies back to the Conversation.
JavaScript layer-webhooks-services-nexmo Node.js library for creating webhooks that send an SMS to a user when a message is unread, and posts SMS replies back to the Conversation.
JavaScript layer-webhooks-services-zendesk Node.js library for creating webhooks that create zendesk tickets for new Conversations, and cross posts all comments/messages to both Conversation and ticket.