---
title: "Get a client"
method: GET
path: "/clients/{client_id}"
tags: ["Clients"]
---

# Get a client

`GET /clients/{client_id}`

Returns the details of a client.

## Path parameters

- `client_id` string, required

## Response `200`

Success

- Client
  - `object` 'client', required — String representing the object's type. Objects of the same type share the same value.
  - `id` string, required — String representing the identifier of the session.
  - `session_ids` string[], required
  - `sessions` Session[], required
    - `object` 'session', required — String representing the object's type. Objects of the same type share the same value.
    - `id` string, required
    - `user_id` string, required
    - `client_id` string, required
    - `actor` object, nullable
    - `status` 'active' | 'revoked' | 'ended' | 'expired' | 'removed' | 'abandoned' | 'replaced' | 'pending', required
    - `last_active_organization_id` string, nullable
    - `last_active_at` integer, required
    - `latest_activity` SessionActivityResponse, nullable
      - `object` string, required
      - `id` string, required
      - `device_type` string
      - `is_mobile` boolean, required
      - `browser_name` string
      - `browser_version` string
      - `ip_address` string
      - `city` string
      - `country` string
    - `expire_at` integer, required — Unix timestamp of expiration.
    - `abandon_at` integer, required — Unix timestamp of abandonment.
    - `updated_at` integer, required — Unix timestamp of last update.
    - `created_at` integer, required — Unix timestamp of creation.
    - `tasks` SessionTask[], nullable
      - `key` string, required
  - `sign_in_id` string, nullable, required
  - `sign_up_id` string, nullable, required
  - `last_active_session_id` string, nullable, required — Last active session_id.
  - `last_authentication_strategy` string, nullable, required — The authentication strategy that was last used to authenticate the user on this client.
  - `updated_at` integer, required — Unix timestamp of last update.
  - `created_at` integer, required — Unix timestamp of creation.

## Other responses

- `400` — Request was not successful
- `401` — Authentication invalid
- `404` — Resource not found

---

[API](https://skmtc.net/clerk/apis/clerk-backend-api.md) · [All operations](https://skmtc.net/clerk/apis/clerk-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clerk/clerk-backend-api/revisions/75df3a43fcb2/schema)
