get
https://api.lodgestory.com/api/wp-crm/directory//teams
List the teams in your organisation. Use the returned organisationTeamId values as teamIds when assigning a team to a chat.
Each team includes its members (id, name, email) so you can see who would be pulled into a chat when the team is assigned.
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
