Twinehealth
Connector for the twinehealth API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://api.twinehealth.com/pub - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
/oauth/tokenusing yourclientId/clientSecret, then calls the API.
Operations
fetchaction— GET /action/{id} — Get an actionfetchbundle— GET /bundle/{id} — Get a bundlefetchcalendarevents— GET /calendar_event — List calendar eventsfetchcalendarevent— GET /calendar_event/{id} — Get a calendar eventfetchcoaches— GET /coach — List coachesfetchcoach— GET /coach/{id} — Get a coach
Inputs
clientId/clientSecret— your twinehealth OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: fetchaction
clientId: <your client id>
clientSecret: <your client secret>