Send rich media in the Agent Engagement API

If you are using your own virtual assistant or agent, then you send a POST request to the messages endpoint that includes the rich-media JSON in the messageData parameter, using the following structure:

{
    "richWidget": {
        RICH_MEDIA_OBJECT
    }
}

Where the RICH_MEDIA_OBJECT is the JSON you created using this guide.

If your rich media is interactive, it will be returned from the customer in a future GET request to the messages endpoint, in the messageData field.

For more information on the Agent Engagement API, refer to the AEAPI documentation.