forward-media
POST
https://business.me-mate.net/#post4
| Field | Type | Description | Example Value |
|---|---|---|---|
sub_user_assigned_id | Integer | Unique identifier assigned to the sub-user within your system. | 2132362 |
message_id | String | Unique WhatsApp message ID associated with this incoming message. | wamid.HBgMOTE3OTc0NzU4OTAyFQIAEhggODIzQzJGQjgyRjcwODNDMkRBNUFFQUI1NjlBRkJGQ0IA |
message_text | String | URL of the media file (image) sent by the user. | https://business.me-mate.net/customers/mediafile/4735258744255332475153.jpeg |
message_type | String | Type of the message — for this payload, the value is image. | image |
message_from | String | WhatsApp number of the sender in international format. | 966xxxxxxx02 |
message_sub_type | String | Indicates message category — forwarded means the image was forwarded by the user. | forwarded |
direction | String | Direction of message flow — inbound means received from user, outbound means sent by system. | inbound |
status | String | Current processing or delivery status of the message. | success |
timestamp | Integer | Unix timestamp (in seconds) representing when the message was received. | 1736246077 |
referral_source_domain | String | Source ((e.g. instagram,facebook,whatsapp etc). | |
referral_source_type | String | The type of message source(e.g., ad). |
Request
This endpoint expects an object.
statusstringRequired
directionstringRequired
timestampintegerRequired
message_idstringRequired
message_fromstringRequired
message_textstringRequired
format: "uri"message_typestringRequired
message_sub_typestringRequired
referral_source_typestringRequired
sub_user_assigned_idintegerRequired
referral_source_domainstringRequired
