Use Access Tokens to access resources on behalf of an authenticated location/company.
Request
Body
client_id
string
The ID provided by GHL for your integration
client_secret
string
grant_type
string
Allowed values:
authorization_coderefresh_token
code
string
refresh_token
string
user_type
string
The type of token to be requested
Allowed values:
CompanyLocation
Example:
Location
redirect_uri
string
The redirect URI for your application
Example:
https://myapp.com/oauth/callback/gohighlevel
Responses
200
Body
client_id
string
The ID provided by GHL for your integration
client_secret
string
grant_type
string
Allowed values:
authorization_coderefresh_token
code
string
refresh_token
string
user_type
string
The type of token to be requested
Allowed values:
CompanyLocation
Example:
Location
redirect_uri
string
The redirect URI for your application
Example:
https://myapp.com/oauth/callback/gohighlevel
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity