Pachca icon

Pachca

Interact with Pachca API

Draft → Create

AI-generated

Summary

Create a Pachca draft or scheduled message in a discussion, thread, or direct message. Choose the entity type and its ID, then provide text, attachments, or both; the node requires owner, admin, or user access.

Inputs

  • Entity Type (required) — Choose discussion, thread, or user to specify where the draft is written.
  • Entity ID (required) — ID of the selected discussion, thread, or employee.
  • Content — Draft text. It may be omitted when attaching files, but the draft cannot be empty.
  • Files — Up to ten attachments. Each can include its existing file ID, upload key, display name, type, size, image dimensions, and voice-message duration and waveform as applicable.
  • Parent Message ID — Message ID to reply to in the same chat.
  • Schedule — JSON sending schedule. Supplying a schedule creates a scheduled message; without one, the operation creates an ordinary draft.

Output shape

A single API response item containing the created draft or scheduled message.

The provided source pack omits the route table and operation body mapping, so the exact response fields are not shown.

Links

Discussion