# REST API

{% embed url="<https://documenter.getpostman.com/view/21518222/2s9YC31uAP>" %}

## Analytics endpoints

Get analytics from your Chathive organisations

{% embed url="<https://documenter.getpostman.com/view/21518222/2s9YC31uAP#ae702bcb-b9e5-4469-8dc7-cef00e504fc5>" %}

## Chat endpoints

Build custom solutions on top of our API when the [SDK](https://developers.chathive.app/sdk) doesn’t quite hit the mark.&#x20;

{% hint style="info" %}
The chat endpoint uses the public API key that can be found under\
\&#xNAN;***project > Implementation***
{% endhint %}

{% embed url="<https://documenter.getpostman.com/view/21518222/2s9YC31uAP#8ac66b55-307a-4312-a95c-f8aebebfdc4d>" %}

## Document endpoints

Push and edit your data to your Chathive organisation with ease

{% embed url="<https://documenter.getpostman.com/view/21518222/2s9YC31uAP#1066c1df-8169-4533-b896-bbbd09ea3203>" %}

## Session endpoints

Get and update AI form sessions

{% embed url="<https://documenter.getpostman.com/view/21518222/2s9YC31uAP#24f86077-7849-4687-88b4-47a460bc6964>" %}

## Tag endpoints

Get, create, update and delete tags&#x20;

{% embed url="<https://documenter.getpostman.com/view/21518222/2s9YC31uAP#f06aef04-54e1-41f5-aef6-af6d8b1aa9da>" %}


---

# 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://developers.chathive.app/api/rest-api.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.
