Send message with filehttps://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/actions/send-message
This endpoint allows, through a valid token, sending and associating messages with attached image files to the claim.
POST
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Path
claim_id
Claim ID. Unique identifier used to reference a specific claim in the system, essential for tracking and managing these claims.number
REQUIRED
Query
application_id
This is the client unique identificator who initiated the claim.string
Body
receiver_role
Person to whom the message associated with the claim will be sent.string
message
Text of the message to be associated with the claim.string
attachments
Image file attached to the message that will be associated with the claim.string
Response parameters
Request
curl -X POST \
'https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/actions/send-message?application_id=123456789'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-1*********685765-12*********1b4332e5c*********e077d7679*********664' \
-d '{
"receiver_role": "respondent",
"message": "Mensaje de prueba",
"attachments": "WhatsApp-Image-2020-09-22.jpeg"
}'Response
// This request has not been responded to.
