Linq icon

Linq

Interact with Linq API (community-built; not affiliated with Linq App Inc.)

Chat Message → Create

AI-generated

Summary

Create a chat message

Inputs

  • attachmentIds — Comma-separated list of pre-uploaded Linq attachment IDs to send as media parts
  • linkUrl — Optional rich link preview URL. Must be the only message part when provided.
  • preferredService — Optional preferred messaging service for the message
  • effectType — Optional iMessage effect type
  • effectName — Optional effect name such as confetti, fireworks, slam, loud, gentle, or invisible
  • replyToMessageId — Optional message ID to reply to
  • replyToPartIndex — Optional part index to reply to when sending a threaded reply
  • chatId (required) — The ID of the chat
  • messageText — The text of the message
  • attachmentUrls — Comma-separated list of attachment URLs (attachment_urls[])
  • idempotencyKey — Optional idempotency key for message creation

Output shape

a single created chat message

Returns the full response from the Linq API for the created message; typically includes the message ID and any metadata, but may vary by configuration.

Examples

Example 1: Send a text message with an attachment ID

chatId: , messageText: 'Hello world', attachmentIds: '12345', optional fields left blank

Example 2: Post a rich link preview

linkUrl: 'https://example.com', messageText: '', attachmentUrls: '', attachmentIds: '', optional fields left blank

Links

Discussion