---
title: "Get a user's administrator-set Surface context"
method: GET
path: "/api/user/{userId}/surface/admin-context"
tags: ["Admin Surface Context"]
---

# Get a user's administrator-set Surface context

`GET /api/user/{userId}/surface/admin-context`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/user/{userId}/surface/admin-context`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/:userId/surface/admin-context/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the administrator-set Surface context for the given user. Separate from the user's own context, which is never returned here. Requires the edit-users permission.

## Path parameters

- `userId` integer, required

## Response `200`

Administrator-set user context

- object
  - `data` object
    - `context` string, nullable

## Other responses

- `401`: Unauthenticated
- `403`: Missing the edit-users permission
- `404`: User not found

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
