Get claim messages - Files and messages - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps
Get claim messages

GET

https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/messages
This endpoint allows searching, through a valid token, messages associated with a claim.
Request's parameters
PATH
claim_id
number

REQUIRED

Claim ID. Unique identifier used to reference a specific claim in the system, essential for tracking and managing these claims.
Response parameters
sender_role
string
Person who sent the message associated with the claim.
receiver_role
string
Person to whom the message associated with the complaint was sent.
attachments
array
Presents information about the file attached to the message associated with the claim.
status
string
Displays the status of the message associated with the claim. It can take one of the following values: 'available', 'moderated', 'rejected', 'pending_translation'.
Request
curl -X GET \
    'https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/messages'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
    
Sample answer
[
  {
    "sender_role": "complainant",
    "receiver_role": "respondent",
    "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",
    "moderation": {
      "status": "clean",
      "reason": "",
      "source": "online",
      "date_moderated": "2023-02-01T20:13:50Z",
      "stage": "claim",
      "date_created": "2020-07-22T20:43:15.000-04:00",
      "message": "Boa noite! A tampa veio com uma rachadura. Gostaria de anexar foto"
    }
  }
]