# therappai Docs

## Home

- [Developer Platform](https://therappai.gitbook.io/therappai-docs/readme.md): Welcome to your team’s developer platform

## Documentation

- [Welcome to the therappai Developer Documentation](https://therappai.gitbook.io/therappai-docs/documentation/readme.md)
- [therappai Quick Start](https://therappai.gitbook.io/therappai-docs/documentation/getting-started/quickstart.md): A 5-minute guide to make your first request and see results.
- [Authentication](https://therappai.gitbook.io/therappai-docs/documentation/getting-started/authentication.md): Access tokens, refresh tokens, headers, session rules.
- [Environments](https://therappai.gitbook.io/therappai-docs/documentation/getting-started/environments.md): Base URLs (production, staging), rate limits, versioning.
- [Overview: How therappai works](https://therappai.gitbook.io/therappai-docs/documentation/core-concepts/overview-how-therappai-works.md): Explains the mental-health engine, AI therapy model, content system, user sessions.
- [AI Therapy Sessions](https://therappai.gitbook.io/therappai-docs/documentation/core-concepts/ai-therapy-sessions.md): Chat, voice, video — how sessions flow, conversation tokens, safety layer.
- [Content Library](https://therappai.gitbook.io/therappai-docs/documentation/core-concepts/content-library.md): CBT, DBT, Mindfulness exercises.
- [Mood Tracking](https://therappai.gitbook.io/therappai-docs/documentation/core-concepts/mood-tracking.md): What moods are, how logs work, emotional insights.
- [Daily Tasks & Routines](https://therappai.gitbook.io/therappai-docs/documentation/core-concepts/daily-tasks-and-routines.md): How tasks are generated, tracked, and completed.
- [Crisis Buddy & Safety](https://therappai.gitbook.io/therappai-docs/documentation/core-concepts/crisis-buddy-and-safety.md): Emergency contacts, alerts, safety guidelines for partners.
- [Users & Accounts](https://therappai.gitbook.io/therappai-docs/documentation/build/users-and-accounts.md): Signup, login, storing profile data in your own app.
- [Integrating AI Chat](https://therappai.gitbook.io/therappai-docs/documentation/build/integrating-ai-chat.md): Step-by-step example of embedding chat sessions.
- [Integrating Video Therapy](https://therappai.gitbook.io/therappai-docs/documentation/build/integrating-video-therapy.md): Calling the video avatar generation / playback endpoints.
- [Embedding Mood Tracking](https://therappai.gitbook.io/therappai-docs/documentation/build/embedding-mood-tracking.md): Example implementation for apps.
- [Accessing Content](https://therappai.gitbook.io/therappai-docs/documentation/build/accessing-content.md): How to render exercises & tasks in your UI.
- [HR / Workplace Integration Guide](https://therappai.gitbook.io/therappai-docs/documentation/guides/hr-workplace-integration-guide.md): How enterprises use therappai for employees.
- [Wellbeing App Integration Guide](https://therappai.gitbook.io/therappai-docs/documentation/guides/wellbeing-app-integration-guide.md): Patterns for consumer apps & coaches.
- [Security & Token Handling](https://therappai.gitbook.io/therappai-docs/documentation/best-practices/security-and-token-handling.md): Secrets, JWT safety, refresh token flow.
- [User Privacy & Confidentiality](https://therappai.gitbook.io/therappai-docs/documentation/best-practices/user-privacy-and-confidentiality.md): What data you must protect, recommended UI handling.
- [Handling High-Risk Users](https://therappai.gitbook.io/therappai-docs/documentation/best-practices/handling-high-risk-users.md): How to use Crisis Buddy & triggers responsibly.
- [FAQs](https://therappai.gitbook.io/therappai-docs/documentation/resources/faqs.md): Common questions developers ask.
- [Support](https://therappai.gitbook.io/therappai-docs/documentation/resources/support.md): How to get help during your integration, including developer support contacts and partnership inquiries.

## API Reference

- [therappai API](https://therappai.gitbook.io/therappai-docs/api-reference/readme.md): Learn more about therappai's APIs.
- [Auth](https://therappai.gitbook.io/therappai-docs/api-reference/auth.md)
- [Users](https://therappai.gitbook.io/therappai-docs/api-reference/users.md)
- [Therapists](https://therappai.gitbook.io/therappai-docs/api-reference/therapists.md)
- [Chat](https://therappai.gitbook.io/therappai-docs/api-reference/chat.md)
- [Content](https://therappai.gitbook.io/therappai-docs/api-reference/content.md)
- [Mood](https://therappai.gitbook.io/therappai-docs/api-reference/mood.md)
- [Emergency Contacts](https://therappai.gitbook.io/therappai-docs/api-reference/emergency-contacts.md)
- [Live Avatar](https://therappai.gitbook.io/therappai-docs/api-reference/live-avatar.md)
- [Tasks](https://therappai.gitbook.io/therappai-docs/api-reference/tasks.md)
- [Models](https://therappai.gitbook.io/therappai-docs/api-reference/models.md)

## Changelog

- [Changelog](https://therappai.gitbook.io/therappai-docs/changelog/readme.md): New updates and improvements

## Help Center

- [Help Center](https://therappai.gitbook.io/therappai-docs/help-center/readme.md)


---

# 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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a 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.
