locations_put_location
Update or create a GoHighLevel sub-account with business details, social links, and settings using an agency-level token.
Instructions
Put Sub-Account (Formerly Location) (requires an agency-level token, not a location PIT)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | The city where the business is located for which sub-account is created | |
| name | No | The name for the sub-account/location | |
| phone | No | The phone number of the business for which sub-account is created | |
| state | No | The state in which the business operates for which sub-account is created | |
| social | No | The social media links for location | |
| twilio | No | The twilio credentials for location | |
| address | No | The address of the business for which sub-account is created | |
| country | No | The country in which the business is present for which sub-account is created | |
| mailgun | No | The mailgun credentials for location | |
| website | No | The website of the business for which sub-account is created | |
| settings | No | The default settings for location | |
| snapshot | No | The snapshot to be updated in the location. | |
| timezone | No | The timezone of the business for which sub-account is created | |
| companyId | Yes | Company/Agency Id | |
| locationId | No | Location Id Defaults to GHL_LOCATION_ID when omitted. | |
| postalCode | No | The postal code of the business for which sub-account is created | |
| prospectInfo | No |