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

# Welcome to the therappai Developer Documentation

therappai is an AI-powered mental-wellbeing platform designed to help people access support instantly — through chat, voice, or video. This documentation gives you everything you need to integrate therappai’s core features into your product using a clean and lightweight REST API.

Whether you’re building a wellness feature for your app, adding support tools for employees, or integrating AI therapy into an existing platform, therappai provides all the essentials: users, AI sessions, content, mood tracking, and crisis support — without the complexity of building a mental-health system from scratch.

#### **What the API lets you do**

* Create and authenticate users
* Start AI therapy conversations
* Send and receive messages with the AI therapist
* Retrieve CBT, DBT & mindfulness exercises
* Log and fetch daily moods
* Store emergency contacts
* Access routines and wellbeing tasks

Everything is designed to be simple, predictable, and fast to integrate — even if you’re working with a small team.

***

### Why therappai?

Mental wellbeing shouldn’t require long wait times or complex infrastructure. With therappai:

* You get **instant access to AI-powered support**
* You can embed it directly into your app, dashboard, or product
* No custom ML models, hosting, or safety layers needed
* You stay focused on your product — we handle the therapy engine

The API is intentionally straightforward so you can get your first successful call within minutes.

***

### What’s in this documentation

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-bolt">:bolt:</i></h4></td><td><strong>therappai</strong> <strong>Quick Start</strong></td><td><strong>Everything you need to make your first API call in under 5 minutes.</strong></td><td></td><td></td><td><a href="/therappai-docs/documentation/getting-started/quickstart.md">therappai Quick Start</a></td></tr><tr><td><h4><i class="fa-book">:book:</i></h4></td><td><strong>Core Concepts</strong></td><td><strong>Understand the essential ideas behind users, sessions, content, and wellbeing data.</strong></td><td></td><td></td><td><a href="/therappai-docs/documentation/core-concepts/overview-how-therappai-works.md">Core Concepts</a></td></tr><tr><td><h4><i class="fa-screwdriver-wrench">:screwdriver-wrench:</i></h4></td><td><strong>Build</strong></td><td><strong>Implementation guides for adding therappai features directly into your product.</strong></td><td></td><td></td><td><a href="/therappai-docs/documentation/build/users-and-accounts.md">BUILD</a></td></tr><tr><td><h4><i class="fa-file-lines">:file-lines:</i></h4></td><td><strong>Guids</strong></td><td><strong>Practical walkthroughs for common app and workflow integrations.</strong></td><td></td><td></td><td><a href="/therappai-docs/documentation/guides/hr-workplace-integration-guide.md">GUIDES</a></td></tr><tr><td><h4><i class="fa-shield-check">:shield-check:</i></h4></td><td><strong>Best Practices</strong></td><td><strong>Recommended patterns for secure, reliable, and scalable integrations.</strong></td><td></td><td></td><td><a href="/therappai-docs/documentation/best-practices/security-and-token-handling.md">BEST PRACTICES</a></td></tr><tr><td><h4><i class="fa-link">:link:</i></h4></td><td><strong>Resources</strong></td><td><strong>Helpful links, FAQs, and support information for your development workflow.</strong></td><td></td><td></td><td><a href="/therappai-docs/documentation/resources/faqs.md">RESOURCES</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://therappai.gitbook.io/therappai-docs/documentation/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
