---
title: "Retrieves online user map configuration identified by the combination of resource id and resource type in the jwt context"
method: GET
path: "/chat/config/online-user-map"
tags: ["Chat"]
---

# Retrieves online user map configuration identified by the combination of resource id and resource type in the jwt context

`GET /chat/config/online-user-map`

## Response `200`

The online user map configuration will be returned

- OnlineUserMapConfigResponse
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `type` string, required
  - `map_unique_name` string, required
  - `map_context_types` string[], required
  - `resource_id` string
  - `resource_type` 'agency' | 'agencygroup' | 'candidate' | 'systemadmin', required

## Other responses

- `401` — Failed to authenticate the user making the request
- `404` — Resource not found
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
