---
title: "Get User"
method: GET
path: "/api/v1/users/{id}"
tags: ["Users"]
---

# Get User

`GET /api/v1/users/{id}`

Gets the user that corresponds to the given ID.

## Path parameters

- `id` string, uuid, required — ID of the user to retrieve.

## Response `200`

Successful Response

- union
  - Person — Represents a human user in the Fordefi platform
    - `id` string, uuid, required — The unique identifier of the object in the Fordefi platform.
    - `created_at` string, date-time, required — The date and time when the object was created.
    - `modified_at` string, date-time, required — The date and time when the object was last modified. Any change to any field of the resource is considered a modification.
    - `user_type` 'person', required — The type of the user.
    - `name` string — The name of the user.
    - `email` string, required — The email of the user.
    - `state` 'active' | 'onboarding_pending_code_generation' | 'onboarding_pending_activation' | 'reset_device_pending_code_generation' | 'reset_device_pending_activation' | 'pending_approval' | 'deleted', required
    - `is_new_device_provisioning` boolean — `True` if the user is provisioning a new device, or is onboarding into an organization; `False` otherwise.
    - `acknowledged_banners` BannerType[], required — The banners that the user has acknowledged.
    - `role` 'admin' | 'trader' | 'viewer', required
    - `user_groups` UserGroupRef[] — The groups the user belongs to.
      - `id` string, uuid, required — The unique identifier of user group in the Fordefi platform.
      - `name` string, required — The name of the user group.
      - `users_count` integer, required — The number of users in the group.
      - `admins_count` integer, required — The number of admins in the group.
      - `state` 'active' | 'deleted', required — Represents a user group state in the Fordefi platform
    - `pending_addition_to_user_groups` UserGroupRef[] — The groups the user is pending to be added to.
      - `id` string, uuid, required — The unique identifier of user group in the Fordefi platform.
      - `name` string, required — The name of the user group.
      - `users_count` integer, required — The number of users in the group.
      - `admins_count` integer, required — The number of admins in the group.
      - `state` 'active' | 'deleted', required — Represents a user group state in the Fordefi platform
    - `pending_removal_from_user_groups` UserGroupRef[] — The groups the user is pending to be removed from.
      - `id` string, uuid, required — The unique identifier of user group in the Fordefi platform.
      - `name` string, required — The name of the user group.
      - `users_count` integer, required — The number of users in the group.
      - `admins_count` integer, required — The number of admins in the group.
      - `state` 'active' | 'deleted', required — Represents a user group state in the Fordefi platform
    - `pending_change` PendingUserChangeRef
      - `new_role` 'admin' | 'trader', required — The new role of the user.
      - `change_request_id` string, uuid, required — The unique identifier of the change request.
    - `device_backup_info` DeviceBackupInfoExt
      - `device_backup_info` union, required — The type of the backup.
        - Cloud
          - `validation_hash` string, required
          - `type` 'cloud', required — Cloud backup type.
          - `cloud_type` 'google_drive' | 'icloud', required
          - `account` string, required
          - `pin_code` string, required
        - Mnemonic
          - `validation_hash` string, required
          - `type` 'mnemonic', required — Mnemonic backup type.
      - `backup_created_at` string, date-time, required — The time when the backup was created.
      - `backup_last_verified_at` string, date-time, required — The time when the backup was last verified.
    - `invited_by` union — Represents a reference to a user in the Fordefi platform
      - PersonRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'person', required — The type of user. Can be a person, or (in programmatic scenarios) an API user or API Signer.
        - `name` string — The name of the user.
        - `email` string, required — The email of the user.
        - `state` 'active' | 'onboarding_pending_code_generation' | 'onboarding_pending_activation' | 'reset_device_pending_code_generation' | 'reset_device_pending_activation' | 'pending_approval' | 'deleted', required
        - `role` 'admin' | 'trader' | 'viewer', required
      - ApiUserRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'api_user', required — The type of the user.
        - `name` string, required — The name of the user.
        - `state` 'active' | 'deleted', required — The state of the user.
        - `role` 'admin' | 'trader' | 'viewer', required
      - ApiSignerRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'api_signer', required — The type of the user.
        - `name` string, required — The name of the user.
        - `state` 'active' | 'onboarding_pending_code_generation' | 'onboarding_pending_activation' | 'deleted', required — The state of the user.
      - EndUserRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'end_user', required — The type of the user.
        - `external_id` string, required — External id of the user.
        - `state` 'active' | 'deleted', required — The state of the user.
      - SystemUserRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'system', required — The type of the user.
        - `name` string, required — The name is Fordefi CARE
    - `device_reset_by` union — Represents a reference to a user in the Fordefi platform
      - PersonRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'person', required — The type of user. Can be a person, or (in programmatic scenarios) an API user or API Signer.
        - `name` string — The name of the user.
        - `email` string, required — The email of the user.
        - `state` 'active' | 'onboarding_pending_code_generation' | 'onboarding_pending_activation' | 'reset_device_pending_code_generation' | 'reset_device_pending_activation' | 'pending_approval' | 'deleted', required
        - `role` 'admin' | 'trader' | 'viewer', required
      - ApiUserRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'api_user', required — The type of the user.
        - `name` string, required — The name of the user.
        - `state` 'active' | 'deleted', required — The state of the user.
        - `role` 'admin' | 'trader' | 'viewer', required
      - ApiSignerRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'api_signer', required — The type of the user.
        - `name` string, required — The name of the user.
        - `state` 'active' | 'onboarding_pending_code_generation' | 'onboarding_pending_activation' | 'deleted', required — The state of the user.
      - EndUserRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'end_user', required — The type of the user.
        - `external_id` string, required — External id of the user.
        - `state` 'active' | 'deleted', required — The state of the user.
      - SystemUserRef
        - `id` string, uuid, required — The unique identifier of the user in the Fordefi platform.
        - `user_type` 'system', required — The type of the user.
        - `name` string, required — The name is Fordefi CARE
    - `approval_request` ApprovalRequest — Represents an approval request for an action in the Fordefi platform
      - `state` 'created' | 'approved' | 'insufficient_approvers' | 'auto_approved' | 'failed', required — Represents the whole approval request state
      - `required_groups` integer, required — The number of required approval groups.
      - `approval_groups` ApprovalRequestGroup[], required — A list of the possible approvers from different groups.
        - `quorum_size` integer, required — The number of approvers required to approve the transaction.
        - `approvers` RequestApprover[], required — A list of the possible approvers.
          - `user` union, required
            - PersonRef
              - …
            - ApiUserRef
              - …
          - `modified_at` string, date-time, required — The date and time when this approval was modified.
          - `decision` string — The decision of the approver.
          - `state` 'pending' | 'approved' | 'unauthorized' | 'not_participated', required — Represents an approval state of a single approver
      - `error_message` string — The error message if the request failed.
  - ApiUser — Represents an API user in the Fordefi platform.
    - `id` string, uuid, required — The unique identifier of the object in the Fordefi platform.
    - `created_at` string, date-time, required — The date and time when the object was created.
    - `modified_at` string, date-time, required — The date and time when the object was last modified. Any change to any field of the resource is considered a modification.
    - `user_type` 'api_user', required — The type of the user.
    - `name` string, required — The name of the user.
    - `state` 'active' | 'deleted', required — The state of the user. Is one of: <ul><li>`active`: The user can perform all actions in the Fordefi platform.<li>`deleted`: The user has been deleted.</ul>
    - `role` 'admin' | 'trader' | 'viewer', required
    - `user_groups` UserGroupRef[] — The groups the user belongs to.
      - `id` string, uuid, required — The unique identifier of user group in the Fordefi platform.
      - `name` string, required — The name of the user group.
      - `users_count` integer, required — The number of users in the group.
      - `admins_count` integer, required — The number of admins in the group.
      - `state` 'active' | 'deleted', required — Represents a user group state in the Fordefi platform
    - `pending_addition_to_user_groups` UserGroupRef[] — The groups the user is pending to be added to.
      - `id` string, uuid, required — The unique identifier of user group in the Fordefi platform.
      - `name` string, required — The name of the user group.
      - `users_count` integer, required — The number of users in the group.
      - `admins_count` integer, required — The number of admins in the group.
      - `state` 'active' | 'deleted', required — Represents a user group state in the Fordefi platform
    - `pending_removal_from_user_groups` UserGroupRef[] — The groups the user is pending to be removed from.
      - `id` string, uuid, required — The unique identifier of user group in the Fordefi platform.
      - `name` string, required — The name of the user group.
      - `users_count` integer, required — The number of users in the group.
      - `admins_count` integer, required — The number of admins in the group.
      - `state` 'active' | 'deleted', required — Represents a user group state in the Fordefi platform
    - `allowed_ip_settings` UserAllowedIpSettings, required
      - `allow_type` 'allow_all' | 'ip_list', required
      - `ip_list` string[] — The list of IP addresses or CIDR ranges that this user is allowed to make API calls from. This field is only used when allow_type is `ip_list`.e.g. `['192.168.1.1', '192.168.1.0/24']`
    - `last_active_at` string, date-time — The last date and time when the user was active.
  - ApiSigner — Represents an API Signer in the Fordefi platform.
    - `id` string, uuid, required — The unique identifier of the object in the Fordefi platform.
    - `created_at` string, date-time, required — The date and time when the object was created.
    - `modified_at` string, date-time, required — The date and time when the object was last modified. Any change to any field of the resource is considered a modification.
    - `user_type` 'api_signer', required — The type of the user.
    - `name` string, required — The name of the user.
    - `state` 'active' | 'onboarding_pending_code_generation' | 'onboarding_pending_activation' | 'deleted', required — The state of the user. Is one of: <ul><li>`active`: The user can perform all actions in the Fordefi platform.<li>`onboarding_pending_code_generation`: The signer has been created but still needs to generate a qr code on it and scan it using mobile device.<li>`onboarding_pending_activation`: The signer has been created but still needs to activate the account.<li>`deleted`: The user has been deleted.</ul>
    - `last_keep_alive_at` string, date-time — The last date and time when API Signer sent a keep-alive.
  - SystemUser — Represents a System User in the Fordefi platform.
    - `id` string, uuid, required — The unique identifier of the object in the Fordefi platform.
    - `created_at` string, date-time, required — The date and time when the object was created.
    - `modified_at` string, date-time, required — The date and time when the object was last modified. Any change to any field of the resource is considered a modification.
    - `user_type` 'system', required — The type of the user.
    - `name` string, required — The name of the system user.
    - `state` 'active', required — The state of the system user can be only active and returned for consistency.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized User
- `403` — Forbidden User
- `404` — Not Found
- `408` — Request Timeout
- `422` — Validation Error
- `429` — Rate Limit Exceeded
- `500` — Unexpected Error

---

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