Happ icon

Happ

Interact with the Happ Platform API: messenger chats, messages and AI assistants

Message → Update

AI-generated

Summary

Updates a Happ message with the supplied fields by sending a PATCH request to /api/messages/{messageId}. Provide the required message ID and optionally set message details such as its chat, author role, source, content type, text, or media and function-call metadata.

Inputs

  • Message ID (required) — Unique identifier of the message to update.
  • Update Fields — Optional body fields: Chat ID, Role, Source, Text, Type, Audio URL, External ID, File URL, From ID, Function Call ID, Function Call Input, Function Call Name, Function Call Output, Session ID, Specific Type, To ID, and Transcription. Configure fields relevant to the message; available roles, sources, and content types are selectable options.

Output shape

A single API response record.

The operation uses the PATCH response as its output; the source does not transform the response. Exact response fields depend on the Happ API.

Links

Discussion