> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a SCIM user

> Gets a SCIM user by ID. Returns both active members and pending invites.

Required scopes: `user_management:read`.

Supported token levels: `workspace`.

#### Authorizations

**Authorization** `string` *required*

This API uses OAuth 2.0 with the authorization code grant flow.

#### Path

**user\_id** `string` *required*

The workspace membership ID or workspace invite ID of the user to retrieve.

#### Response

**schemas** `string[]`

Always `["urn:ietf:params:scim:schemas:core:2.0:User"]`.

**id** `string`

The workspace membership ID or workspace invite ID.

**userName** `string`

The user's email address.

**name** `object`

**name**

**givenName** `string`

The user's first name.

**familyName** `string`

The user's last name.

**emails** `object[]`

**emails\[]**

**value** `string`

The email address.

**primary** `boolean`

Whether this is the primary email address.

**type** `string`

Always `"work"`.

**active** `boolean`

Whether the user is active. Suspended members return `false`. Pending invites return `true`.

**appRole** `string`

The user's role: `"admin"` or `"member"`. Not present for suspended users.

**meta** `object`

**meta**

**resourceType** `string`

Always `"User"`.

**created** `string`

ISO 8601 timestamp of when the user was created.

**lastModified** `string`

ISO 8601 timestamp of when the user was last modified.

```json 200 theme={"system"}
{
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
  "id": "3a8f5b2c-9e14-4d7a-b832-1c6f85d90e47",
  "userName": "john.doe@example.com",
  "name": {
    "givenName": "John",
    "familyName": "Doe"
  },
  "emails": [
    {
      "value": "john.doe@example.com",
      "primary": true,
      "type": "work"
    }
  ],
  "active": true,
  "appRole": "member",
  "meta": {
    "resourceType": "User",
    "created": "2024-01-01T00:00:00.000Z",
    "lastModified": "2024-01-01T00:00:00.000Z"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.