---
title: "Get User By Client User Id"
method: GET
path: "/v2/user/resolve/{client_user_id}"
tags: ["user"]
---

# Get User By Client User Id

`GET /v2/user/resolve/{client_user_id}`

GET user_id from client_user_id.

## Path parameters

- `client_user_id` string, required — A unique ID representing the end user. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the client_user_id.

## Response `200`

Successful Response

- ClientFacingUser
  - `user_id` string, uuid, required — User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api.
  - `team_id` string, uuid, required — Your team id.
  - `client_user_id` string, required — A unique ID representing the end user. Typically this will be a user ID from your application. Personally identifiable information, such as an email address or phone number, should not be used in the client_user_id.
  - `created_on` string, date-time, required — When your item is created
  - `connected_sources` ConnectedSourceClientFacing[], required — A list of the users connected sources.
    - `provider` ClientFacingProvider, required — A vendor, a service, or a platform which Vital can connect with.
      - `name` string, required — Name of source of information
      - `slug` string, required — Slug for designated source
      - `logo` string, required — URL for source logo
    - `created_on` string, date-time, required — When your item is created
    - `source` ClientFacingProvider, required — A vendor, a service, or a platform which Vital can connect with.
      - `name` string, required — Name of source of information
      - `slug` string, required — Slug for designated source
      - `logo` string, required — URL for source logo
  - `fallback_time_zone` FallbackTimeZone, required
    - `id` string, required — Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`). Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
    - `source_slug` string, required — Slug for designated source
    - `updated_at` string, date-time, required
  - `fallback_birth_date` FallbackBirthDate
    - `value` string, date, required — Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age.
    - `source_slug` string, required — Slug for designated source
    - `updated_at` string, date-time, required
  - `ingestion_start` string, date, nullable — Starting bound for user [data ingestion bounds](https://docs.tryvital.io/wearables/providers/data-ingestion-bounds).
  - `ingestion_end` string, date, nullable — Ending bound for user [data ingestion bounds](https://docs.tryvital.io/wearables/providers/data-ingestion-bounds).

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryvital/apis/junction-api.md) · [All operations](https://skmtc.net/tryvital/apis/junction-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryvital/junction-api/versions/d28f5cec7d79/schema)
