Sprinto Developer API

Make your first API Call using the Sprinto API Playground

The following step-by-step guide helps you to make your first API call using Sprinto API playground.

Before you begin

ℹ️

Recommended reading

Refer to our API structure guide to learn more about the valid API call structure.

Making API call from Playground

  1. You can choose what type of API call you want to make. You can make a query or mutation call. Once decided, from Root types, select the expansion button next to your desired root type. In the following example, we are raising a query-type API call.

  2. Select an API call from the available one. Upon selecting an API call, the code gets copied automatically to the explorer's Operations field.

  3. Now, you must select an argument to define the node to retrieve from the query:

    • You can use the first argument to define the number of nodes you want in the response.
    • Or, you can select after or before arguments to retrieve records before and after a provided cursor. To learn more about cursors, head to the pagination documentation..

    For the below example, we have selected first argument and entered the value 10 in the variable section.

  4. Next, select the information fields you’d like to receive in response to the API call. In this case, we’ve only selected totalCount to get the total number of workflow checks. Once done, click Query to execute the call.

  5. From Response field, you can find your response. You can find the response code and respective error message if your query fails.

Yay! You just made your first API call. You can head over to Sprinto Cookbooks, a ready-to-use API call template, to try out our other supported API calls.