OAuth
Create an access token
Exchanges client credentials for a Bearer access token using the client_credentials grant type. The returned token must be included in the Authorization header for all protected endpoints.
⚠️ Content-Type required. This request must be sent with Content-Type: application/x-www-form-urlencoded. If your HTTP client sets a session-level default of application/json (a common pattern), you must override it explicitly for this request — otherwise the server will return 400: invalid grant type without further explanation.
post/oauth/token
Request
- Base URLhttps://api.clients.wellhub.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Response
Token successfully created.
Example response
{
"expires_in": 300
}Changes
No recorded changes to this operation across all 1 revision of this API.