# Developer Platform

<h2 align="center"><strong>therappai developer platform</strong></h2>

<p align="center">Welcome to the official therappai developer platform — your gateway to embedding real-time AI mental-wellbeing features into any product or experience.</p>

<p align="center"><a href="http://app.gitbook.com/join" class="button primary">Sign up</a> <a href="http://app.gitbook.com/join" class="button secondary">Log in</a></p>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><h4><i class="fa-leaf">:leaf:</i></h4></td><td><strong>No code</strong></td><td>Start integrating AI mental-health support within minutes using simple, intuitive endpoints — no complex setup required.</td><td><a href="/spaces/D9kPQSKh37ARMSglTuWN">/spaces/D9kPQSKh37ARMSglTuWN</a></td><td><a href="/files/LHIOZGoI6dPF36TuRaxH">/files/LHIOZGoI6dPF36TuRaxH</a></td></tr><tr><td><h4><i class="fa-server">:server:</i></h4></td><td><strong>Hosted</strong></td><td>therappai handles all processing, safety systems, and optimisation in the cloud. Your product gets instant access to AI chat, voice, and video therapy.</td><td><a href="/spaces/D9kPQSKh37ARMSglTuWN">/spaces/D9kPQSKh37ARMSglTuWN</a></td><td><a href="/files/IaUMODRBBSBL8eUaPX09">/files/IaUMODRBBSBL8eUaPX09</a></td></tr><tr><td><h4><i class="fa-terminal">:terminal:</i></h4></td><td><strong>API reference</strong></td><td>therappai handles all processing, safety systems, and optimisation in the cloud. Your product gets instant access to AI chat, voice, and video therapy.</td><td><a href="/spaces/Qt1lFMMsVE19ED7tG4kR">/spaces/Qt1lFMMsVE19ED7tG4kR</a></td><td><a href="/files/ebMoLMpZFyLqpzByuzrk">/files/ebMoLMpZFyLqpzByuzrk</a></td></tr></tbody></table>

{% columns %}
{% column %}

### Get started in 5 minutes

Your first API call should be easy. therappai is designed for speed, clarity, and developer happiness. With secure authentication and straightforward endpoints, you’ll be up and running in minutes — not hours.

No guesswork. No complexity. Just your first successful call, fast.

<a href="/spaces/D9kPQSKh37ARMSglTuWN" class="button primary" data-icon="rocket-launch">Get started</a> <a href="/spaces/Qt1lFMMsVE19ED7tG4kR" class="button secondary" data-icon="terminal">API reference</a>
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
// Import the SDK
import ExampleAPI from "example-api";

// Initialize the client
const client = new ExampleAPI({ apiKey: "YOUR_API_KEY" });

// Send your first message
const response = await client.messages.send({
  message: "Hello, world!"
});

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://gitbookio.github.io/onboarding-template-images/placeholder.png" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

### Learn more about the developer platform

Explore the guides, tutorials, and documentation that help you build meaningful wellbeing experiences with therappai’s AI capabilities.

<a href="/spaces/oB1KYxxWnhnJlHRw4gSL" class="button primary" data-icon="book-open">Guides</a> <a href="/spaces/D9kPQSKh37ARMSglTuWN" class="button secondary" data-icon="book">Documentation</a>
{% endcolumn %}
{% endcolumns %}


---

# 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://therappai.gitbook.io/therappai-docs/readme.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.
