# Get an SBO context type

Operation ID: `getSboContextType`

Group: People Management › SBO Context Types

[Open in the interactive reference](https://lensing.ai/api-docs/lensing/v1/endpoints/getSboContextType)

`GET /people/sbo-context-types/{id}`

Read-only: Reads and returns; changes nothing.

Returns one SBO context type by id, with its linked value ids and external identifiers.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Api-Version` | header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version `v1`. |
| `id` | path | string | yes | The unique identifier for the SBO context type. |

## Response

`200` Success

Under `data` (getSboContextTypeOutput):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The unique identifier for the SBO context type. |
| `contextType` | string | yes | The name of the SBO context type, for example 'department'. |
| `contextValueIds` | array<string> | yes | The identifiers of the SBO context values linked to this type. |
| `externalIdentifiers` | array<object> | no | Identifiers owned by other systems. At most one entry per fieldName. Absent when there are none. |
| `externalIdentifiers[].fieldName` | string | yes | The configured key of the identifier, for example 'apposeId'. |
| `externalIdentifiers[].value` | string | yes | The identifier as the other system holds it. |
| `externalIdentifiers[].externalUrl` | string | no | An absolute http(s) link to the record in the other system. |
| `lastModifiedDate` | date-time | yes | The date and time the SBO context type last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. Changes to its value links or external identifiers alone do not move it. |

```json
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "contextType": "<contextType>",
    "contextValueIds": [
      "<contextValueIds>"
    ],
    "externalIdentifiers": [
      {
        "fieldName": "<fieldName>",
        "value": "<value>",
        "externalUrl": "<externalUrl>"
      }
    ],
    "lastModifiedDate": "2026-01-15T09:30:00.000Z"
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}
```

## Errors

| Code | Status |
| --- | --- |
| `NOT_FOUND` | 400 |

## Statuses

- `400` — Invalid request or business failure. Codes: NOT_FOUND
- `401` — The request carries no valid access token.
- `403` — Not authorized
- `404` — Not found
- `429` — Too many requests from this client address. The response has no body and no `Retry-After` header.
- `500` — Internal server error
