Event types

When you configure a webhook, you subscribe to specific event types that your service cares about. Each event type represents a specific action that can occur within your Layer app. Currently the following event types are available:

Type Trigger
Message.created Triggered when a Message being sent to a Conversation or Channel.
Message.updated Triggered when a Message is being updated.
Message.deleted Triggered when a Message is being deleted.
MessagePart.created Triggered when a Message Part is being added to a Message.
MessagePart.updated Triggered when a Message Part is being updated.
MessagePart.deleted Triggered when a Message Part is beging removed from a Message.
Conversation.created Triggered when a Conversation is being created.
Conversation.updated Triggered when a Conversation is being updated (metadata, tags, etc).
Conversation.deleted Triggered when a Conversation is being deleted.
Participation.created Triggered when a participant is being added to a Conversation.
Participation.deleted Triggered when a participant is being removed from a Conversation.
Channel.created Triggered when a Channel is being created.
Channel.updated Triggered when a Channel is being updated (metadata, name, etc).
Channel.deleted Triggered when a Channel is being deleted.
Membership.created Triggered when a Member is being added to a Channel.
Membership.deleted Triggered when a Member is being removed from a Channel.
Receipt.created Triggered when a Message or message range is marked read or delivered.