Available on Business, Enterprise plans.
- You can send an emoji as part of the
message
text. - Facebook and Instagram
mediaUrls
must end in a known extension. Including query parameters will cause the media url to fail.
Header Parameters
Path Parameters
The platform to send the message:
facebook
, instagram
, twitter
Body Parameters
The ID of the message recipient.
The message to send to the recipient.
- Facebook and Instagram message may be an empty string or not included if a
mediaUrls
is provided. - X requires a message of at least one character even if a
mediaUrls
is provided.
Array of media URLS for attaching images, a video, or a voice message.
- URLs of media items should end in the file extension without additional parameters appended.
- Facebook and Instagram support multiple media URLs.
- X only accepts a single media URL.
- Voice messages are supported on Facebook and Instagram as an
aac
orwav
file.