organizationByID

This query loads organization information based on the organization ID.

General pattern

query{
    organizationByID(id: "organization-id"){
    field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample query

query{
  organizationByID(id: "a1dc174d-abf4-47d3-be3c-9281c6eba456"){
    id
    handle
    name
    jwtIssuerDomain
  }
}

Sample response

{
  "data": {
    "organizationByID": {
      "id": "a1dc174d-abf4-47d3-be3c-9281c6eba456",
      "handle": "metaverso",
      "name": "metaverso",
      "jwtIssuerDomain": "https://mojito-metaverso.us.auth0.com/"
    }
  }
}

Arguments

Name

Type

Description

Required

id

String

The organization ID.

Yes

Fields

Name

Type

Description

Organization

Object

Contains all the information from Organization such as organization ID, the name of the organization, the organization members, marketplaces, assets, wallets, and the NFT contracts.

Example

Load the basic information of an organization using an organization ID:

Load the marketplace data of an organization using an organization ID: