instagram.com
Send Instagram DM
Input
username requiredInstagram handle without @, e.g. f1
message optionalPlain text message to send. At least one of message or fileBase64 is required.
filename optionalFilename to send the image as, e.g. photo.png. Required when fileBase64 is set.
mimeType optionalMIME type of the image; inferred from the filename extension when omitted.
fileBase64 optionalImage contents, base64-encoded (no data: prefix). At least one of message or fileBase64 is required.
Output
username requirednotice optionalRecipient-side restriction banner visible in the thread right after sending, else null. May lag the server push — null does not guarantee delivery.
message optionalfilename optionalmessageId optionalid of the sent text message, null if no message was sent
timestampMs optionalmediaMessageId optionalid of the sent image message, null if no image was sent
mediaTimestampMs optional