Skip to main content
GET
/
v1
/
inboxes
/
:contactId
/
messages
Get inbox contact messages
curl --request GET \
  --url https://openapi.enginy.ai/v1/inboxes/:contactId/messages \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "message": "Inbox messages retrieved successfully",
  "data": {
    "contactId": 123,
    "messages": [
      {
        "id": 9001,
        "conversationId": 456,
        "senderIdentityId": 14,
        "content": "Thanks, this looks interesting. Can you send pricing?",
        "subject": "Re: Intro from Enginy",
        "type": "EMAIL",
        "isContactSender": true,
        "isAutosent": false,
        "isAudio": false,
        "url": null,
        "attachment": null,
        "attachmentName": null,
        "contentType": "TEXT",
        "createdAt": "2026-03-20T09:41:12.000Z",
        "updatedAt": "2026-03-20T09:41:12.000Z",
        "viewCount": 0,
        "clickCount": 0
      },
      {
        "id": 9002,
        "conversationId": 456,
        "senderIdentityId": 14,
        "content": "Yes, let me know what team size you are targeting and I will tailor the pricing recommendation.",
        "subject": "Re: Intro from Enginy",
        "type": "EMAIL",
        "isContactSender": false,
        "isAutosent": false,
        "isAudio": false,
        "url": null,
        "attachment": null,
        "attachmentName": null,
        "contentType": "TEXT",
        "createdAt": "2026-03-20T10:03:40.000Z",
        "updatedAt": "2026-03-20T10:03:40.000Z",
        "viewCount": 0,
        "clickCount": 0
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

contactId
string
required

Contact ID for the thread you want to inspect

Example:

"123"

Query Parameters

senderIdentityId
integer

Return only the message history visible for one sender identity.

Example:

14

archived
boolean

Return archived threads instead of active ones. Defaults to false.

Example:

false

Response

Inbox messages retrieved successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required