Skip to main content

Message received

Webhook 

A chat message addressed to the app.

Webhooks are delivered only when:

  • Someone sends a direct message (DM) to the app
  • The app is added to a chat group (channel) and that group receives messages
  • Someone @mentions the app in a message

The Events API does NOT deliver every chat message in the account—only those where the app is a participant or mentioned.

Available events:

  • chat:message:dm — Direct messages to the app
  • chat:message:channel — Messages in groups where the app is a member
  • chat:message:mention — Messages that @mention the app (useful for bots that only respond when called)

Request

Responses

Return a 200 status to indicate that the data was received successfully