get
https://api.lodgestory.com/api/wp-crm/directory//users
List the users in your organisation that can be assigned to chats. Use the returned id values as userIds when assigning users to a chat.
The response includes each user's roles and team memberships so you can decide who to assign.
Filtering: platform super-users and hidden/invisible users are excluded. CRM_BOT users are included (they are valid programmatic assignees).
Security:
- The
organisationIdin the URL must match the organisation your JWT was issued for — requests for a different organisation fail with 401. - Requires
CRM_ADMIN,ACCOUNT_OWNER, orCRM_BOTrole; other roles receive 403.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Unauthorized — invalid/expired JWT or organisation ID does not match the token
403Forbidden — user lacks CRM_ADMIN, ACCOUNT_OWNER, or CRM_BOT role
429Too many requests
500Internal server error
