Conversations
Get's a conversation
64f8a0e2d5b7c9a1e3f4a5b6OK
Conversation header: id, type, name, comment id, updated, dates, owner, closed state, signature, and messages.
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the conversation is closed. Posting a message while closed reopens the conversation, so the composer should stay enabled.
Date the conversation was closed, when closed is true
Reason the conversation was closed, when closed is true. Clients translate the enum to a localized label.
Free-text note accompanying the close reason, when provided
GET /api/v1/employee/conversations/{employeeId}/{conversationId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "COMMENT",
"name": "text",
"commentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"updated": true,
"updatedOn": "2026-01-01T00:00:00.000Z",
"imagePath": "text",
"owned": true,
"closed": true,
"closedOn": "2026-01-01T00:00:00.000Z",
"closeReason": "RESOLVED",
"closeReasonNote": "text",
"stateHistory": [
{
"date": "2026-01-01T00:00:00.000Z",
"state": "OPEN",
"actor": "64f8a0e2d5b7c9a1e3f4a5b6",
"userType": "EMPLOYEE",
"reason": "RESOLVED",
"note": "text"
}
],
"allowedCloseReasons": [
"RESOLVED"
],
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"messages": [
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}
]
}Set's the conversation as seen
64f8a0e2d5b7c9a1e3f4a5b6OK
Conversation header: id, type, name, comment id, updated, dates, owner, closed state, signature, and messages.
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the conversation is closed. Posting a message while closed reopens the conversation, so the composer should stay enabled.
Date the conversation was closed, when closed is true
Reason the conversation was closed, when closed is true. Clients translate the enum to a localized label.
Free-text note accompanying the close reason, when provided
PUT /api/v1/employee/conversations/{employeeId}/{conversationId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "COMMENT",
"name": "text",
"commentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"updated": true,
"updatedOn": "2026-01-01T00:00:00.000Z",
"imagePath": "text",
"owned": true,
"closed": true,
"closedOn": "2026-01-01T00:00:00.000Z",
"closeReason": "RESOLVED",
"closeReasonNote": "text",
"stateHistory": [
{
"date": "2026-01-01T00:00:00.000Z",
"state": "OPEN",
"actor": "64f8a0e2d5b7c9a1e3f4a5b6",
"userType": "EMPLOYEE",
"reason": "RESOLVED",
"note": "text"
}
],
"allowedCloseReasons": [
"RESOLVED"
],
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"messages": [
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}
]
}Closes the conversation with a reason (required; OTHER requires a note). A closed conversation blocks new messages until it is reopened; an employee reopens it simply by posting a new message.
64f8a0e2d5b7c9a1e3f4a5b6Request body to close a conversation: the reason (required) and an optional note (required when reason is OTHER).
Why the conversation is being closed. Must be a reason allowed for an employee.
Free-text detail. Required when reason is OTHER, otherwise optional.
OK
Conversation header: id, type, name, comment id, updated, dates, owner, closed state, signature, and messages.
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the conversation is closed. Posting a message while closed reopens the conversation, so the composer should stay enabled.
Date the conversation was closed, when closed is true
Reason the conversation was closed, when closed is true. Clients translate the enum to a localized label.
Free-text note accompanying the close reason, when provided
PUT /api/v1/employee/conversations/{employeeId}/{conversationId}/close HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"reason": "RESOLVED",
"note": "text"
}OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "COMMENT",
"name": "text",
"commentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"updated": true,
"updatedOn": "2026-01-01T00:00:00.000Z",
"imagePath": "text",
"owned": true,
"closed": true,
"closedOn": "2026-01-01T00:00:00.000Z",
"closeReason": "RESOLVED",
"closeReasonNote": "text",
"stateHistory": [
{
"date": "2026-01-01T00:00:00.000Z",
"state": "OPEN",
"actor": "64f8a0e2d5b7c9a1e3f4a5b6",
"userType": "EMPLOYEE",
"reason": "RESOLVED",
"note": "text"
}
],
"allowedCloseReasons": [
"RESOLVED"
],
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"messages": [
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}
]
}Posts a message to a conversation. If the conversation is closed, sending a message reopens it: the act of posting is the employee's reopen intent, so no flag is required.
64f8a0e2d5b7c9a1e3f4a5b6Single message in a conversation: date, text, user type, seen, owned, anonymous, signature.
Message date and time
Message text
Type of user who sent the message
Whether the message has been seen
Whether the message is from the current user
OK
Conversation header: id, type, name, comment id, updated, dates, owner, closed state, signature, and messages.
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the conversation is closed. Posting a message while closed reopens the conversation, so the composer should stay enabled.
Date the conversation was closed, when closed is true
Reason the conversation was closed, when closed is true. Clients translate the enum to a localized label.
Free-text note accompanying the close reason, when provided
POST /api/v1/employee/conversations/{employeeId}/message/{contextId} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 223
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "COMMENT",
"name": "text",
"commentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"updated": true,
"updatedOn": "2026-01-01T00:00:00.000Z",
"imagePath": "text",
"owned": true,
"closed": true,
"closedOn": "2026-01-01T00:00:00.000Z",
"closeReason": "RESOLVED",
"closeReasonNote": "text",
"stateHistory": [
{
"date": "2026-01-01T00:00:00.000Z",
"state": "OPEN",
"actor": "64f8a0e2d5b7c9a1e3f4a5b6",
"userType": "EMPLOYEE",
"reason": "RESOLVED",
"note": "text"
}
],
"allowedCloseReasons": [
"RESOLVED"
],
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"messages": [
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}
]
}Get all the conversations. Optionally filter by lifecycle state with the 'state' query param (OPEN / CLOSED) and by read state with the 'readState' query param (READ / UNREAD); omit either to not filter on that axis (default returns all).
09Filter by lifecycle state: OPEN, CLOSED, or omitted for both.
Filter by read state: READ, UNREAD, or omitted for both.
OK
GET /api/v1/employee/conversations/{employeeId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"from": 1,
"to": 1,
"total": 1,
"noContent": true,
"results": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "COMMENT",
"name": "text",
"commentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"updated": true,
"updatedOn": "2026-01-01T00:00:00.000Z",
"imagePath": "text",
"owned": true,
"closed": true,
"closedOn": "2026-01-01T00:00:00.000Z",
"closeReason": "RESOLVED",
"closeReasonNote": "text",
"stateHistory": [
{
"date": "2026-01-01T00:00:00.000Z",
"state": "OPEN",
"actor": "64f8a0e2d5b7c9a1e3f4a5b6",
"userType": "EMPLOYEE",
"reason": "RESOLVED",
"note": "text"
}
],
"allowedCloseReasons": [
"RESOLVED"
],
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"messages": [
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}
]
}
]
}Get's conversation status for that employee
OK
Conversations status: unread count and total count.
Number of unread conversations
Total number of conversations
GET /api/v1/employee/conversations/{employeeId}/status HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"unread": 1,
"total": 1
}Get's conversation starters for a given context
64f8a0e2d5b7c9a1e3f4a5b63OK
Suggested conversation starter for a context (e.g. a comment): starter text and reason.
Suggested text to start the conversation
Reason or context for suggesting this starter
GET /api/v1/employee/conversations/{employeeId}/starters/{contextId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
[
{
"starter": "text",
"reason": "text"
}
]Lists the employee's most recent pending conversations to show on login: open conversations unread by the employee (the company side replied and the employee has not read it yet) whose last activity is older than 3 days. A maximum of 3 is returned, most recent first. Gated by the conversationsOnLoginEnabled feature flag and only available to employees and advisors.
OK
Conversation header: id, type, name, comment id, updated, dates, owner, closed state, signature, and messages.
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the conversation is closed. Posting a message while closed reopens the conversation, so the composer should stay enabled.
Date the conversation was closed, when closed is true
Reason the conversation was closed, when closed is true. Clients translate the enum to a localized label.
Free-text note accompanying the close reason, when provided
GET /api/v1/employee/conversations/{employeeId}/pending HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "COMMENT",
"name": "text",
"commentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"updated": true,
"updatedOn": "2026-01-01T00:00:00.000Z",
"imagePath": "text",
"owned": true,
"closed": true,
"closedOn": "2026-01-01T00:00:00.000Z",
"closeReason": "RESOLVED",
"closeReasonNote": "text",
"stateHistory": [
{
"date": "2026-01-01T00:00:00.000Z",
"state": "OPEN",
"actor": "64f8a0e2d5b7c9a1e3f4a5b6",
"userType": "EMPLOYEE",
"reason": "RESOLVED",
"note": "text"
}
],
"allowedCloseReasons": [
"RESOLVED"
],
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"messages": [
{
"date": "2026-01-01T00:00:00.000Z",
"message": "text",
"userType": "EMPLOYEE",
"seen": true,
"owned": true,
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"anonymous": true
}
]
}
]Last updated