---
title: "Get authenticated user's Surface context"
method: GET
path: "/api/me/surface/context"
tags: ["Surface"]
---

# Get authenticated user's Surface context

`GET /api/me/surface/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/me/surface/context`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/me/surface/context/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the authenticated user's organization, job role, role orientation, person profile, roles, and representatives for Surface prompt resolution.

## Response `200`

Surface context

- object
  - `data` object
    - `organization_id` integer, nullable
    - `job_role` object, nullable
      - `id` integer
      - `name` string
    - `role_orientation` object, nullable
      - `id` integer
      - `name` string
    - `is_external` boolean
    - `person_profile` object, nullable
      - `info` string, nullable
      - `job_title` string, nullable
      - `location` string, nullable
      - `person_profile_job_role` object, nullable
        - `id` integer
        - `name` string
    - `organization` object, nullable
      - `id` integer
      - `name` string
      - `organization_type` object, nullable
        - `id` integer
        - `name` string
    - `roles` object[]
      - `display_name` string
    - `representative` object, nullable
      - `id` integer
      - `type` string
      - `name` string, nullable
      - `category_id` integer, nullable
      - `category_name` string, nullable
      - `subcategory_id` integer, nullable
      - `league_id` integer, nullable
      - `league_name` string, nullable
    - `representatives` object[]
      - `id` integer
      - `type` string
      - `name` string, nullable
      - `is_main` boolean
      - `category_id` integer, nullable
      - `category_name` string, nullable
      - `subcategory_id` integer, nullable
      - `league_id` integer, nullable
      - `league_name` string, nullable
    - `organization_surface_context` string, nullable
    - `user_surface_context` string, nullable
    - `admin_organization_surface_context` string, nullable
    - `admin_user_surface_context` string, nullable

## Other responses

- `401`: Unauthenticated

---

[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)
