Messages
Send a message
Send an Instagram DM.
POST
Send a message
Send an Instagram DM through a connected HookMyApp channel.
Use the connected Instagram account ID in the path. Use the inbound
sender.id as the outbound recipient.id.
Supports Instagram message types:
text: Plain text repliesimage,audio,video: Media messagesquick_replies: Quick reply promptsgenericcards: Cards and carouselsreaction: Message reactionssender_action: Typing indicators and other sender actions
Authentication
Use thehmat_ channel token from GET /meta/channels/{id}/token or hookmyapp channels env <channel>. Do not use an hmok_ API key for this call.
Path parameters
string
required
The connected Instagram account ID.
Request body
string
required
Instagram-scoped sender ID (IGSID) from the inbound webhook
sender.id.object
required
The Instagram message payload, such as text, media attachment, quick replies, cards, reactions, or sender actions.
Example
Successful response
Supported message types
Use the guide pages for copy-paste examples: Instagram enforces the standard messaging window. Plain replies outside the allowed window are rejected by Meta.Send a message