Pachca icon

Pachca

Interact with Pachca API

Message → Create

AI-generated

Summary

Create a Pachca message in a discussion, thread, or user entity, with optional attachments, link preview, reply target, sender display details, or buttons.

Inputs

  • Entity Type (required) — Choose Discussion, Thread, or User; the value is case-insensitive.
  • Entity ID (required) — Select the conversation, channel, thread, or employee, or enter its ID.
  • Content (required) — Message text. Mentions can use @nickname or <@user_id>.
  • Additional Fields — Optionally set a custom sender name or avatar (bot access token required), attach files using keys returned by File > Create, enable a preview of the first link, set a parent message ID to reply in the chat feed, or skip inviting mentioned users when posting to a thread. Voice attachments require duration_ms and waveform; image attachments can include width and height.
  • Button Layout — Choose None, Single Row, Multiple Rows, or Raw JSON. For visual layouts, configure Buttons; for Raw JSON, provide Buttons (JSON) as an array of button rows. Buttons support webhook data or a URL; the UI declares a maximum of 100 buttons and up to 8 per row.

Output shape

a single message record

The operation sends a create-message request and returns the API response. Response fields depend on the Pachca API.

Links

Discussion