# API Documentation

## Types of API calls

Our APIs offer two types of calls, namely:

1. Developer API calls
2. Normal API calls

{% hint style="info" %}
Our APIs will always default to the latest version available. The endpoint URL does not include the API version. \
\
You cannot switch between different API versions, as we only maintain the most recent stable version on our servers.
{% endhint %}

***

### Developer API calls

Developer API calls can validate inputs and test integrations without APIs. These API calls cost less and return **dummy content,** meaning that you can still test your integration, without wasting valuable API calls.

### Normal API calls

These API calls work like any normal API call, they cost more, but return actual outputs based on the inputs provided.

{% hint style="info" %}
You can view more information, and questions about APIs, here:\
[Questions about APIs](https://app.gitbook.com/s/BeNf1V8VcQOxWf8Jm0ZO/questions-about-apis "mention")
{% endhint %}

***

## :key: API Authentication

Our APIs always require your special API tokens. Upon registering, you will receive 2 API tokens, a developer API token, and a normal API token. When passing the tokens to the API, you can use either the developer API token to initiate a developer API call; or the normal API token to make a normal API call.

{% hint style="danger" %}
In case of a compromised API token, please contact our support team immediately, so that we can quickly lock access to your API resources and reset your account keys.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://infinitode-docs.gitbook.io/documentation/api-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
