Skip to main content

User Check API

The User Check API tells you whether GNet core already has users that match a username, an email address, a phone number, or a company GNET ID (griddid). Use it before you call the Signup API to prevent duplicate registrations.

Endpoint

GET https://core.grdd.net/api/user/check The route does not require a token.

Query Parameters

Send at least one parameter. You can send more than one in the same request. Core returns one result object for each parameter that you send.
Phone numbers. Send the number in international format. If the value does not start with +, core adds it. In a query string, a literal + is read as a space, so encode it as %2B or leave it out. Core searches only for numbers that are valid. For a number that is not valid, found is false.

Example Request


Response

Example Response

Response Fields

Each result object has these fields: The type of result depends on the parameter: A user object contains griddid, username, name, email, phoneNo, and enabled. Core does not return passwords, user IDs, or roles.

Error Responses


Best Practices

  • Before you register a company, check both the email address and the phone number. The Signup API rejects a registration when a company with the same email address or phone number exists.
  • Encode the + in phone numbers as %2B.
Next step: register the company with the Signup API.