> For the complete documentation index, see [llms.txt](https://infinitode-docs.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitode-docs.gitbook.io/documentation/api-documentation.md).

# API Documentation

## Get started with APIs

Choose an endpoint from the navigation, then send a request with an API token. Each endpoint page defines its required parameters, response shape, rate limits, and examples.

Use a developer token while testing. Use a normal token when you need production output.

<a href="https://infinitode.netlify.app/openapi" class="button primary" data-icon="file-code">Browse OpenAPI specifications</a>

## 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

Use your developer API token to validate inputs and test an integration. Developer calls return validation details and dummy output. Do not use their output in production.

### Normal API calls

Use your normal API token for production requests. Normal calls return the endpoint's actual output.

{% hint style="info" %}
You can view more information, and questions about APIs, here:\
[Questions about APIs](https://infinitode-docs.gitbook.io/faqs/questions-about-apis)
{% endhint %}

***

## :key: API Authentication

Our APIs require an API token. Upon registration, you receive a developer token and a normal token. The token you send determines the call type.

Use the developer token for test calls. Use the normal token for production calls.

{% hint style="info" %}
A `401 Unauthorized` response means that the API token is missing or invalid. Check the token and its request location. A `400` response indicates invalid request input. A `429` response indicates rate limiting.
{% endhint %}

{% 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 %}
