Skip to main content
POST
Send an Instagram message
Send an Instagram message through one customer’s connected channel. Use the HookMyApp channel ID (ch_...) when you fetch the channel token. Use the connected Instagram account ID in the gateway path. Use the inbound sender.id as the outbound recipient.id.

Authentication

Use the returned hmat_ channel token to send the message. Do not use an hmok_ API key for the send call.

Path parameters

string
required
The connected Instagram account ID for the customer channel, from INSTAGRAM_ACCOUNT_ID.

Request body

string
required
The Instagram sender ID 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