Organization Info

Retrieve data on your organizations, per organization ID.

Fetch Organization Data

Retrieving the user's organization info is done through querying the user's information. One can query details inside the organization.

query User($where: UserWhereUniqueInput!) {
  user(where: $where) {
    fullName
    organizations {
      [id]
      [name]
      [city]
      [email]
      [industry]
      [isIndividual]
      [phone]
      [street]
      [phoneCountry]
      [timezone]
      [transferRequestOrders]
      [unit]
      [wallets]
      [zipCode]
    }
  }
}

Headers

Body (UserWhereUniqueInput object)

Example body:

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

Response

Returned values:

{
  "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!