Download OpenAPI specification:Download
Any customer looking forward to build, manage and host their own identity source can accomplish it by hosting an identity gateway that implements Moveworks API specification for identity sources provided below. This will enable them to have greater control and flexibility over what attributes they are able to federate into Moveworks User objects.
For ingestion, Moveworks exclusively includes active users and does not process inactive users. In simple words mark a user as active(state: ACTIVE) if they are to be ingested otherwise mark them as inactive(state: INACTIVE)
By default, the full sync method is used for ingestion. However, if a customer prefers the incremental sync approach for its advantages, they must opt for soft deletion. This means that user records are marked as inactive instead of being completely removed from the database when deleted. In cases where hard deletion occurs in the database, the default approach reverts to full sync. Additionally, to support incremental sync, the identity gateway must maintain a "last_updated_at" attribute for each user and update it whenever the user is modified.
We will share more information on how to convey your deletion approach(soft or hard deletion) to us once we start supporting incremental sync.
List of users should be returned from this API in a deterministic order. Deterministic order is desired if we decide to use pagination. Anticipated load – Moveworks will call this endpoint to ingest users, polling would be as frequent as every 4 hours, could be even more aggressive in extenuating circumstances and it could be as seldom as 2 weeks. We recommend a rate limit of 10 req/sec for this endpoint.
List of users
There was an error. Please see our error documentation for details on what the errors mean. https://docs.moveworks.ai/gateway/errors/
{- "results": [
- {
- "user": {
- "state": "ACTIVE",
- "universal_identifier": "john@example.com",
- "email_addr": "john@example.com",
- "first_name": "John",
- "last_name": "Doe",
- "full_name": "John Doe",
- "work_status": "FULL_TIME",
- "employment_info": {
- "employee_start_date_ts": "2023-05-14T09:30:00Z",
- "role": "Software Engineer",
- "manager_email": "emilysmith@example.com",
- "cost_center_id": "A123",
- "cost_center_name": "Engineering Department",
- "department": "Engineering",
- "office_phone_number": "555-123-4567",
- "assistant_full_name": "Sarah Johnson",
- "employment_location": {
- "location": "Austin, Texas",
- "office": "MTV",
- "country_code": 1,
- "region": "South Central",
- "timezone": "Central Standard Time (CST)"
}
}
}, - "system_identity": {
- "id": "1234-5678-9012-3456",
- "username": "JohnDoe"
}, - "last_updated_at": "2023-05-14T09:30:00Z"
}
], - "next_page_token": "ABCD1234"
}
Returns user details given their userId. We recommend a rate limit of 5 req/sec for this endpoint.
A single user
There was an error. Please see our error documentation for details on what the errors mean. https://docs.moveworks.ai/gateway/errors/
{- "user": {
- "state": "ACTIVE",
- "universal_identifier": "john@example.com",
- "email_addr": "john@example.com",
- "first_name": "John",
- "last_name": "Doe",
- "full_name": "John Doe",
- "work_status": "FULL_TIME",
- "employment_info": {
- "employee_start_date_ts": "2023-05-14T09:30:00Z",
- "role": "Software Engineer",
- "manager_email": "emilysmith@example.com",
- "cost_center_id": "A123",
- "cost_center_name": "Engineering Department",
- "department": "Engineering",
- "office_phone_number": "555-123-4567",
- "assistant_full_name": "Sarah Johnson",
- "employment_location": {
- "location": "Austin, Texas",
- "office": "MTV",
- "country_code": 1,
- "region": "South Central",
- "timezone": "Central Standard Time (CST)"
}
}
}, - "system_identity": {
- "id": "1234-5678-9012-3456",
- "username": "JohnDoe"
}, - "last_updated_at": "2023-05-14T09:30:00Z"
}