Optional
access_token?: stringThe token used to access the GHL API
Optional
token_type?: "Bearer"The type of token provided
Optional
expires_in?: numberThe amount of time until the access_token expires in seconds - Can be refreshed using the Refresh Token up to 1 year after token created Once Refreshed, a new access_token / refresh_token will be provided The new access_token will expire in 24 hours and the new refresh_token will expire in 1 year
Optional
refresh_token?: stringThe refresh token to be used to request a new access token
Optional
scope?: Scope[]The scope of the token provided
Optional
userType?: stringThe type of user the token is for
Optional
locationId?: stringLocation ID - Present only for Sub-Account Access Token
Optional
companyId?: stringCompany ID
Optional
approvedLocations?: string[]Approved locations to generate location access token
Optional
planId?: stringPlan Id of the subscribed plan in paid apps.
USER ID - Represent user id of person who performed installation