Skip to main content
This page walks you through your first Mirobody Platform API call in 5 minutes. You need either a partner email provisioned via Mirobody Support, or one of the public demo accounts below.
1

Get a token

Two-step email-code login:
curl -X POST https://mcp.thetahealth.cn/email/login \
  -H "Content-Type: application/json" \
  -d '{"email":"demo1@mirobody.ai"}'
The response’s data.access_token is a 30-day JWT.
2

Make your first call

TOKEN="<the access_token from step 1>"

curl -N -X POST https://mcp.thetahealth.cn/api/chat \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"question":"Hello","agent":"App","provider":"DeepSeekFlash"}'
You’ll get an SSE stream of data: {...} lines — id / reply / costStatistics / end. See Chat API for the full event reference.

Demo accounts

Mirobody publishes 3 evaluation accounts on production, code always 777777:
EmailCode
demo1@mirobody.ai777777
demo2@mirobody.ai777777
demo3@mirobody.ai777777
These 3 accounts are publicly shared — anyone can sign in with code 777777. They start empty and are intended strictly for API testing / debugging. Do not upload real personal health data, files, or sensitive information. Mirobody is not responsible for the security of data placed in these demo accounts — other evaluators may read, overwrite, or clear the contents at any time.For a private long-term partner account, email Mirobody Support.

See it live

mirobody.thetahealth.cn

Primary frontend — the default Mirobody web. Sign in with any demo account above.

cdm.thetahealth.cn

Branch: CDM — extends Mirobody with structured data-recording; useful when you need a more record-heavy workflow.

Next steps

Full API Reference

Request/response specs for every REST + WebSocket endpoint

Compliance

Independent CN/US deployments; request DPA / questionnaire