Mega icon

Mega

Work with Mega API

Canned Response → Create

AI-generated

Summary

Create a new canned response in the Mega system by providing a unique short code and the message content.

Inputs

  • Short Code (required) — A unique identifier string that acts as a shortcut to quickly access the canned response.
  • Content (required) — The actual message text that will be saved and returned when the canned response is used.

Output shape

a single record representing the newly created canned response object returned by the Mega API

The output includes details of the created canned response. Inputs 'Short Code' and 'Content' are mandatory to perform the creation. Errors or failures will be returned according to the Mega API's standard error response format.

Links

Discussion