Skip to main content
GET
Legacy - Get unibox chats and messages for a contact

Authorizations

Authorization
string
header
required

API key from Settings → API. Send it as Authorization: Bearer .

Headers

x-impersonate-user-id
string

ID of an organization member to act on behalf of. The API key user must be the owner of the organization and the target user must belong to the same organization.

Path Parameters

contactId
number
required

Response

List of unibox chats for the contact, ordered by most recent message first

id
string
required

Unique chat identifier (internal chat ID)

seen
boolean
default:false
required

Whether the chat has been seen

createdAt
string<date-time>
required

Creation timestamp

updatedAt
string<date-time>
required

Last update timestamp

subject
string

Subject of the chat (sometimes empty)

lastMessage
string

Content of the latest message in the chat

lastMessageDate
string<date-time>

Date of the latest message in the chat

messages
object[]

List of messages in the chat

sender
object

Sender attendee information for the chat

attendeeId
string

attendee ID of the conversation partner (internal)

accountId
string

Linkedin account ID associated with this chat (internal)

interested
boolean

Whether the contact is interested (sentiment analysis result)

tag
string

Sentiment / category tag for the chat

contactId
number

Linked Gojiberry contact ID, if matched

contact
object

Associated Gojiberry contact

seatId
number

Gojiberry LinkedIn seat ID owning this chat

seat
object

Associated LinkedIn seat

userId
number

User ID who owns this chat

user
object

Associated user account