User Info

Retrieve data on a specific user, per user ID.

Fetch User Data

Retrieving the user's information is done through querying according a specific user ID.

query User($where: UserWhereUniqueInput!) {

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body (UserWhereUniqueInput object)

NameTypeDescription

id*

string

User ID

Example body:

{
  "where": {
    "id": "userId123"
  }
}

Response

Returned values:

NameTypeDescription

id

string

Organization ID

name

string

Organization name

city

string

Organization address (city)

email

string

Organization POC email

industry

string

Organization industry

isIndividual

boolean

Flag wether organization or individual

phone

string

Organization phone number

phoneCountry

string

Organization country

street

string

Organization address (street)

transferRequestOrders

TransferRequestOrder

Transfer Request Orders

timeZone

TimeZone

Time zone for organization

unit

string

Unit

wallet

Wallet

Organization wallets

zipCode

string

Organization address (zip code)

{
  "data": {
    "user": {
      "organizations": [
        {
          "id": "clilpvru98723678mwie82oihn9",
          "name": "Crypto Org 1",
          "city": "New York"
        }
      ]
    }
  }
}

In the example response above, we queried the id , name and city of the organization.

Try it out!

Last updated