Skip to content
  • SDKs and APIs
  • Kinde API

Test the connection to Kinde’s API

Testing is always a good idea after you start using the Kinde Management API, for example, after you add a new machine to machine connection for getting a Kinde API access token.

We recommend you test in a non-production environment.

The following procedure describes how to test using Postman - an API platform - but you can follow similar steps in your own app environment.

Test the connection using various endpoints

Link to this section

You can test the API connection by sending a GET request to any Kinde API endpoint. See the Kinde Management API library for options.

Here’s an example using the users listing endpoint.

  1. Create a new GET request.
  2. Enter a URL that contains the /users endpoint, e.g. https://<domain>.kinde.com/api/v1/users .
Entering a Request URL in Postman
  1. Send the request. It should return your users in the body section. If it does, the connection is successful.
Response body in Postman
  1. Repeat from step 2 for any other Kinde API endpoints you want to test.

When a request returns null

Link to this section

When you request to receive data back via the API and get an unexpected or null response, you may need to add custom claims to the token.

  1. In Kinde, go to Settings > Applications and open the relevant application.
  2. Select Tokens in the menu.
  3. Scroll to the Token customization section.
  4. Select Customize on the Access or ID token type and switch on / select any claims or properties you want to include in the token.
  5. Select Save. For more detailed information, see Token customization