Purple WorkIQ API Documentation
Machine-readable OpenAPI 3.0 specification: https://marketplace.moveworks.com/api/purple-suite/workiq/openapi.json
The consolidated all-apps document at https://marketplace.moveworks.com/api/purple-suite/openapi.json can be narrowed to this app with ?apps=workiq, or combined with other apps comma-separated (e.g. ?apps=workiq,itsm).
Overview
Endpoints
GET /api/purple-suite/workiq/conversations
List WorkIQ conversations
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
$filter | query | string | no | OData filter expression. Comparison operators: eq, ne, gt, ge, lt, le. Logical: and, or, not, with parentheses for grouping. String functions: contains(field,'x'), startswith(field,'x'), endswith(field,'x'). Membership: field in ('a','b'). Case-insensitive matching via tolower(field) / toupper(field). Nested fields use a slash, e.g. pto_balance/vacation_days. String literals use single quotes; dates are ISO-8601. Examples: "status eq 'active'"; "salary gt 50000 and department eq 'Engineering'"; "contains(tolower(name),'acme')"; "closeDate gt 2026-01-01". |
$select | query | string | no | Comma-separated list of fields to return, e.g. "id,firstName,email". Nested fields via slash ("pto_balance/vacation_days"). The id field is always included. |
$orderby | query | string | no | Sort clause(s), comma-separated, each "field [asc|desc]" (asc is the default). Example: "createdAt desc, lastName asc". Null values sort last. |
$search | query | string | no | Free-text, case-insensitive substring match across the resource's searchable fields. |
$top | query | integer | no | Maximum number of items to return (page size). |
$skip | query | integer | no | Number of matching items to skip before returning results (offset paging). Combine with $top. |
$count | query | boolean | no | When true, include @odata.count (total matches after $filter/$search, before paging) in the response. |
Responses
200- Paginated list
application/jsondataarrayarray of:
ConversationidstringcreatedDateTimestringdisplayNamestringagentIdnullstatestringturnCountintegermessagesarrayarray of:
ResponseMessage@odata.typestringidstringtextstringcreatedDateTimestringadaptiveCardsarrayarray of:
attributionsarrayarray of:
referencesobjectsensitivityLabelobjectsensitivityLabelIdstring,nulldisplayNamestring,nulltooltipstring,nullpriorityinteger,nullcolornull
nextCursorstring — Cursor for the next page, or null on the last page. With $top/$skip this is the next $skip value; otherwise a keyset cursor.totalinteger — Total documents in the collection.@odata.countinteger — Present only when $count=true: total matches after $filter/$search.@odata.truncatedboolean — Present and true only when the collection exceeded the in-memory query cap and results may be incomplete.
POST /api/purple-suite/workiq/conversations
Create a WorkIQ conversation
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Responses
201- Conversation created
application/jsonConversationidstringcreatedDateTimestringdisplayNamestringagentIdnullstatestringturnCountintegermessagesarrayarray of:
ResponseMessage@odata.typestringidstringtextstringcreatedDateTimestringadaptiveCardsarrayarray of:
attributionsarrayarray of:
referencesobjectsensitivityLabelobjectsensitivityLabelIdstring,nulldisplayNamestring,nulltooltipstring,nullpriorityinteger,nullcolornull
GET /api/purple-suite/workiq/conversations/{id}
Get a WorkIQ conversation
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Conversation
application/jsonConversationidstringcreatedDateTimestringdisplayNamestringagentIdnullstatestringturnCountintegermessagesarrayarray of:
ResponseMessage@odata.typestringidstringtextstringcreatedDateTimestringadaptiveCardsarrayarray of:
attributionsarrayarray of:
referencesobjectsensitivityLabelobjectsensitivityLabelIdstring,nulldisplayNamestring,nulltooltipstring,nullpriorityinteger,nullcolornull
404- Conversation not found
POST /api/purple-suite/workiq/conversations/{id}/chat
Submit a query to a WorkIQ conversation
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
ChatRequest
messageobject requiredtextstring required
locationHintobjecttimeZonestring
Responses
200- Updated conversation, including the new turn's messages
application/jsonConversationidstringcreatedDateTimestringdisplayNamestringagentIdnullstatestringturnCountintegermessagesarrayarray of:
ResponseMessage@odata.typestringidstringtextstringcreatedDateTimestringadaptiveCardsarrayarray of:
attributionsarrayarray of:
referencesobjectsensitivityLabelobjectsensitivityLabelIdstring,nulldisplayNamestring,nulltooltipstring,nullpriorityinteger,nullcolornull
400- message.text is required
404- Conversation not found