SupportWire API
API ReferenceMessages

List messages

Required scope: `messages:read`. Returns customer-facing messages (excludes internal notes).

GET
/api/oauth/v1/conversations/{conversation_id}/messages

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth access token, e.g. Authorization: Bearer swot_….

In: header

Path Parameters

conversation_id*string

Response Body

application/json

curl -X GET "https://example.com/api/oauth/v1/conversations/string/messages"
{
  "data": [
    {
      "id": "string",
      "conversation_id": "string",
      "source": "string",
      "is_spam": true,
      "inserted_at": 0,
      "body_html": "string",
      "marked_as_solution_at": 0,
      "user": {
        "id": "string",
        "name": "string",
        "email": "string",
        "instagram_handle": "string",
        "profile_picture_url": "string"
      },
      "meta_info": {},
      "is_ai_message": true,
      "reply_to": {
        "id": "string",
        "body_html": "string",
        "user": {
          "id": "string",
          "name": "string",
          "email": "string",
          "instagram_handle": "string",
          "profile_picture_url": "string"
        }
      },
      "attachments": [
        {
          "id": "string",
          "presigned_url": "string",
          "original_filename": "string",
          "extension": "string",
          "file_size": 0,
          "resource_type": "string",
          "resource_id": "string"
        }
      ]
    }
  ]
}