post
https://api.lodgestory.com/api/wp-crm/chat-assignments//users/assign
Assign one or more users to a chat and, optionally, set the PRIMARY assignee.
- Already-assigned users are skipped (idempotent).
primaryAssigneeUserId, if provided, must be inuserIds. It unsets any existing primary so a chat always has at most one primary. Re-sending the current primary is a no-op (no thread message).- A system message is posted to the chat thread describing the change.
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…
400Bad request — invalid body, a user is not in your organisation, the primary is not in userIds, or a user is not assignable (super-user/hidden)
401Unauthorized
403Forbidden — role not permitted
404Chat not found in your organisation
429Too many requests
500Internal server error
