v1 · OpenAPI 3.1Dashboard

Users

Get a user

GET/v1/applications/{app_id}/users/{user_id}

Returns the full user object; there is no fields or expand filtering yet. user_id must belong to the application's region (its prefix, e.g. usr_tr_..., names the region) or this returns 404 without calling the region at all.

Required scope
users:read
Auth
Secret key · Organization API key

Path parameters

  • app_idstringrequired

    Example: app_seller

  • user_idstringrequired

    Example: usr_tr_8f2c91a7

Responses

  • 200OKUser

    The user

    • idstring

    • regionstring

      More regions will be added; clients must accept unknown values.

      Values: EU TR

    • emailstring

    • email_verifiedboolean

    • phonestring

      Not available yet.

    • namestring

    • countrystring

    • labelsLabels

    • statusstring

      Values: active locked banned invited

    • created_atstring (date-time)

    • last_sign_in_atstring (date-time)

    • sessionsobject[]

      Not available yet (planned expand=sessions).

    • mfa_factorsstring[]

      Not available yet (planned expand=mfa_factors).

    • sign_in_historyobject[]

      Not available yet (planned expand=sign_in_history).

    • metadataobject

      Not available yet (planned expand=metadata).

    • consentsobject[]

      Not available yet (planned expand=consents).

  • 404Not FoundError

    Not found

    • errorobjectrequired

      5 properties
      • codestringrequired

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Example: region_unavailable

      • messagestringrequired

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Values: EU TR

      • retryablebooleanrequired

      • detailsobject

  • 503Service UnavailableError

    region_unavailable: the user's region cannot answer right now. Retry after Retry-After seconds.

    • errorobjectrequired

      5 properties
      • codestringrequired

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Example: region_unavailable

      • messagestringrequired

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Values: EU TR

      • retryablebooleanrequired

      • detailsobject