Accessing Nexar Account Programmatically

Modified on Thu, 14 Sep, 2023 at 2:55 PM

Nexar provides adm queries to allow you to access information about your organization, such as its users and applications.

query AdminExample {
  admOrganizations {
    name
    createdDate
    users {
      firstName
      lastName
      userName
    }
    applications {
      name
      id
      scopes {
        scope
      }
    }
  }
}

Warning: You need an access token that identifies a user, such as one generated in the portal for an application with the design scope, or using the OAuth 2 Authorization Code flow with the "user.access" and "openid" scopes. This is so the correct organization can be identified and its data exposed only to authorized users.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article