Skip to main content

Overview

You've already created an API key. Now you're ready to test Sona's APIs and confirm your access is working correctly.

For this guide, we'll cover testing directly in the Sona API documentation, but the same principles can be applied to your preferred testing methods.

Test Sona APIs in Documentation

Our API documentation includes an interactive testing feature. You can enter your API key and test endpoints directly from the docs—no external tools required.

Step 1: Navigate to an Endpoint

Go to any endpoint in the API Reference, such as:

Step 2: Enter Your API Key

In the right panel, expand the Auth section and paste your API key in the input field.

Step 3: Choose Programming Language

Select your preferred programming language from the code tabs (cURL, Python, JavaScript, etc.).

Step 4: Enter Parameter Values

Provide values for the required parameters:

As you enter values, the API request will update live in the code panel.

Step 5: Execute the API Call

Click "Send API Request" to run your API request.

The response from the API appears directly in the Response section. A successful request returns a 200 status code with your data.