Listing organizations
How to list the organizations in your account
query {
organization {
id
name
uuid
cnpj
}
}query {
organizations {
id
name
uuid
cnpj
}
}Last updated
How to list the organizations in your account
You may want to know the ID or some other data of your organizations. For that, we have the following two queries:
The organization query returns the data of your current organization:
query {
organization {
id
name
uuid
cnpj
}
}The organizations query returns the data of all your organizations:
query {
organizations {
id
name
uuid
cnpj
}
}You can check what each of these parameters means directly in the full GraphQL API documentation, in the Docs menu of Altair. If you're not sure how to do that, check out our tutorial on Using Altair.
If Altair doesn't help you integrate with the API, check out some examples of how to make these requests in other ways: https://graphql.org/graphql-js/graphql-clients/
Last updated