---
title: "Update an organization's Surface context"
method: PUT
path: "/api/organization/{organizationId}/surface/context"
tags: ["Surface"]
---

# Update an organization's Surface context

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

Upserts the organization's freeform Surface context, preserving formatting verbatim. Restricted to an account-administrator of that organization; access is enforced server-side.

## Path parameters

- `organizationId` integer, required

## Request body

- OrganizationSurfaceContextUpdateRequest
  - `context` string, nullable, required: Freeform organization context injected into Surface LLM prompts for every member of the org. Formatting (markdown / line breaks) is preserved verbatim. Send null or an empty string to clear it.

## Response `200`

Organization context updated

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

## Other responses

- `401`: Unauthenticated
- `403`: Not an account-administrator of the organization
- `422`: Validation error

---

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