Intelligent search powered by OpenAI
Get claim messages
GET
Request's parameters
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
Response parameters
sender_role
Person who sent the message associated with the claim.string
receiver_role
Person to whom the message associated with the complaint was sent.string
message
Displays the message text associated with the complaim.string
translated_message
This displays the translated text of the message associated with the complaint.string
Request
curl -X GET \
'https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/messages'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
Sample answer
[
{
"sender_role": "complainant",
"receiver_role": "respondent",
"message": "Boa noite! A tampa veio com uma rachadura. Gostaria de anexar foto",
"translated_message": null,
"date_created": "2020-09-30T09:48:06.000-04:00",
"last_updated": "2020-10-02T01:12:31.000-04:00",
"message_date": "2020-10-02T01:12:31.000-04:00",
"date_read": "2020-10-02T01:12:31.000-04:00",
"attachments": [
{
"filename": "8007ee20-be67-471f-9e59-e32d9ba02fae_239628932.jpeg",
"original_filename": "Captura de Tela 2019-07-30 a?s 09.45.40.png",
"size": 1880609,
"type": "image/jpeg",
"date_created": "2020-07-22T20:43:15.000-04:00"
}
],
"status": "available",
"stage": "claim",
"moderation": {
"status": "clean",
"reason": "",
"source": "online",
"date_moderated": "2023-02-01T20:13:50Z",
"date_created": "2020-07-22T20:43:15.000-04:00"
},
"repeated": false
}
]