ghl_oauth_get_access_token
Exchange an authorization code, refresh token, or client credentials for an OAuth2 access token to authenticate with GoHighLevel CRM resources.
Instructions
OAuth2 token exchange (authorization_code / refresh_token grants). Spec documents the SAME GetAccessTokenBodyDto schema under both application/x-www-form-urlencoded and application/json content types — this tool defaults to the conventional form-encoded body; application/json is also accepted per spec if you construct the request outside this tool. No security scheme on this op (client credentials go in the body). Get Access Token Use Access Tokens to access CRM resources on behalf of an authenticated location/company. Endpoint: POST /oauth/token (Version header: v3; source: v3/oauth-v3.json)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). |