---
title: "Check if a user has access to a world"
method: GET
path: "/{worldId}/users/{userId}/access/"
tags: ["Worlds", "public"]
---

# Check if a user has access to a world

`GET /{worldId}/users/{userId}/access/`

## Path parameters

- `worldId` string, required
- `userId` string, required

## Headers

- `x-m2-organization-id` string, required
- `x-m2-project-id` string, required

## Response `200`

Indicates if a user has access to a world

- AccessResponse — Indicates if a user has access to a world
  - `userId` string, required — The ID of a user
  - `hasAccess` boolean, required — true if the user can enter the world, false otherwise

## Other responses

- `4XX` — HTTP error message

---

[API](https://skmtc.net/otherside/apis/worlds.md) · [All operations](https://skmtc.net/otherside/apis/worlds/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/worlds/revisions/fe3e2eee3c6f/schema)
