Purple Identity API Documentation
Machine-readable OpenAPI 3.0 specification: https://marketplace.moveworks.com/api/purple-suite/identity/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=identity, or combined with other apps comma-separated (e.g. ?apps=identity,itsm).
Overview
Endpoints
GET /api/purple-suite/identity/people
List people in the Purple Identity directory
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
limit | query | integer | no | Legacy page size (default 50). Prefer $top. Ignored when $top/$skip are used. |
cursor | query | string | no | Legacy keyset cursor — pass the previous response's nextCursor. Prefer $skip/$top. |
$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:
PersonA person in the canonical directory.idstringemailstringfirstNamestringlastNamestringfullNamestringtitlestringdepartmentstringmanagerEmailstringcountrystringlocalestringcitystringregionstringlocationstringtimezonestringphonestringavatarColorstringstartDatestringworkStatusstringcreatedAtstringupdatedAtstring
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.
400- Invalid OData query (e.g. malformed $filter)
POST /api/purple-suite/identity/people
Add a person to the Purple Identity directory
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Request body
application/json — required
Person
idstringemailstringfirstNamestringlastNamestringfullNamestringtitlestringdepartmentstringmanagerEmailstringcountrystringlocalestringcitystringregionstringlocationstringtimezonestringphonestringavatarColorstringstartDatestringworkStatusstringcreatedAtstringupdatedAtstring
Responses
201- Created
application/jsonPersonA person in the canonical directory.idstringemailstringfirstNamestringlastNamestringfullNamestringtitlestringdepartmentstringmanagerEmailstringcountrystringlocalestringcitystringregionstringlocationstringtimezonestringphonestringavatarColorstringstartDatestringworkStatusstringcreatedAtstringupdatedAtstring
GET /api/purple-suite/identity/people/{id}
Get one person from the Purple Identity directory
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Found
application/jsonPersonA person in the canonical directory.idstringemailstringfirstNamestringlastNamestringfullNamestringtitlestringdepartmentstringmanagerEmailstringcountrystringlocalestringcitystringregionstringlocationstringtimezonestringphonestringavatarColorstringstartDatestringworkStatusstringcreatedAtstringupdatedAtstring
404- Not found
DELETE /api/purple-suite/identity/people/{id}
Delete a person from the Purple Identity directory
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Deleted
application/jsonsuccessboolean
404- Not found
PATCH /api/purple-suite/identity/people/{id}
Update a person's directory record
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
Person
idstringemailstringfirstNamestringlastNamestringfullNamestringtitlestringdepartmentstringmanagerEmailstringcountrystringlocalestringcitystringregionstringlocationstringtimezonestringphonestringavatarColorstringstartDatestringworkStatusstringcreatedAtstringupdatedAtstring
Responses
200- Updated
application/jsonPersonA person in the canonical directory.idstringemailstringfirstNamestringlastNamestringfullNamestringtitlestringdepartmentstringmanagerEmailstringcountrystringlocalestringcitystringregionstringlocationstringtimezonestringphonestringavatarColorstringstartDatestringworkStatusstringcreatedAtstringupdatedAtstring
404- Not found
GET /api/purple-suite/identity/users
List users in the Moveworks Identity Gateway shape
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
pageToken | query | string | no | Opaque paging token — pass the previous response's next_page_token. |
pageSize | query | integer | no | Maximum users to return in one page (default 1000). |
filter | query | string | no | Filter expression over person fields. Operators eq/ne/gt/lt, combined with and/or and parentheses. Example: "department eq 'Engineering'". |
Responses
200- A page of users
application/jsonresultsarrayarray of:
IdentityGatewayUserA single user record in the Moveworks Identity Gateway shape (projection of a Person).userobjectstatestringuniversal_identifierstringemail_addrstringfirst_namestringlast_namestringfull_namestringwork_statusstringemployment_infoobjectemployee_start_date_tsstringrolestringmanager_emailstringcost_center_idstringcost_center_namestringdepartmentstringoffice_phone_numberstringassistant_full_namestringemployment_locationobjectlocationstringofficestringcountry_codestringregionstringtimezonestring
system_identityobjectidstringusernamestring
last_updated_atstring
next_page_tokenstring — Token for the next page, or empty on the last page.
400- Invalid filter expression
GET /api/purple-suite/identity/users/{userId}
Get one user in the Moveworks Identity Gateway shape
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
userId | path | string | yes | The user's system_identity.id (e.g. PERSON-0001). |
Responses
200- The user
application/jsonIdentityGatewayUserA single user record in the Moveworks Identity Gateway shape (projection of a Person).userobjectstatestringuniversal_identifierstringemail_addrstringfirst_namestringlast_namestringfull_namestringwork_statusstringemployment_infoobjectemployee_start_date_tsstringrolestringmanager_emailstringcost_center_idstringcost_center_namestringdepartmentstringoffice_phone_numberstringassistant_full_namestringemployment_locationobjectlocationstringofficestringcountry_codestringregionstringtimezonestring
system_identityobjectidstringusernamestring
last_updated_atstring
404- User not found