Skip to content
First requestVisit website ↗
Navigation

Email teammates who were @mentioned in a comment

Requires a signed-in session (Authorization Bearer) and current membership of the workspace in X-Workspace-Id. Takes only the id of a comment the caller saved in this workspace in the last 24 hours. The email uses that comment's stored text and author name, the contact's real name, and the mentions recorded when it was saved; only current members are emailed, and all text is HTML-escaped. The first call claims the send on the comment's mention record (livechat_internal_notes.notified_at, one per message id) and records the outcome (notify_outcome), so a repeated or overlapping call emails no one again and reports the recorded outcome.

POST
https://api.channelautomation.com/api/livechat2/notify-mentions

Authorization

  • bearerAuth
    bearerAuth
    required

Header parameters

  • X-Workspace-Id
    string
    required

Request body JSON required

  • messageId
    string
    required

    Id returned by save-comment

    format: uuid
  • workspaceId
    optional
    string

Returns

200

{ success } — false when any mention email could not be sent (no per-recipient detail). A repeat call sends nothing and returns the first call's outcome; false while it is unfinished or unknown.

400

messageId missing or not a UUID

401

No valid signed-in session

403

Not a member of the workspace

404

No comment by this caller with that id in the last 24 hours

503

Identity

Type to search…

↑↓ navigate↵ selectEsc close