You can automate sub-account creation in HighLevel using Zapier and the HighLevel API. This integration allows agencies to create new sub-accounts based on form submissions, workflow events, or other triggers without manually entering account details.
The integration uses Zapier Webhooks and HighLevel's supported APIs to create sub-accounts securely.
Important: Creating sub-accounts through the API requires the Founder Plan ($497/month), formerly Agency Pro, which includes Advanced API Access.
TABLE OF CONTENTS
- Prerequisites
- Step 1: Configure API Authentication
- Step 2: Create a Zap in Zapier
- Step 3: Configure a HighLevel Workflow
- Step 4: Configure the Create Sub-Account API Request
- Required API Headers
- Example Request Body
- Step 5: Test Sub-Account Creation
- Step 6: Add Users to the New Sub-Account
- Troubleshooting
- Frequently Asked Questions
- Related Articles
Prerequisites
Before getting started, ensure you have:
An active HighLevel Founder Plan subscription.
Agency-level access to HighLevel.
A Zapier plan that supports Webhooks.
An agency-level Private Integration Token (PIT) or OAuth 2.0 authorization.
The
locations.writeAPI scope.A form, workflow, or other event to trigger sub-account creation.
Note: The LeadConnector Zapier action "Add Account" was deprecated on February 21, 2022. Use Zapier Webhooks with the current HighLevel API instead.
Step 1: Configure API Authentication
HighLevel supports Private Integration Tokens and OAuth 2.0 for API authentication. For an internal agency integration using a Private Integration Token:
Open your HighLevel Agency account.
Navigate to Settings > Private Integrations.
Create a new agency-level Private Integration.
Assign the
locations.writescope.Generate and securely store the token.
Important: The token must be an agency-level token. Sub-account tokens cannot be used to create new sub-accounts.
For additional instructions, see Private Integrations: Everything You Need to Know.
Step 2: Create a Zap in Zapier
Configure a Zap to capture the information required to create a new sub-account.
Log in to Zapier and click Create Zap.

Select Webhooks by Zapier as the trigger.

Choose Catch Hook.

Copy the generated webhook URL.

Keep the Zap open for testing.
Step 3: Configure a HighLevel Workflow
Create a workflow that sends customer information to Zapier.
Navigate to Automation > Workflows.
Create a new workflow.
Add a trigger, such as a form submission.
Add a Webhook action.

Paste the webhook URL copied from Zapier.

Configure the data to send.
Save and publish the workflow.
Submit a test form with sample data to verify that Zapier receives the required information.
Step 4: Configure the Create Sub-Account API Request
After receiving the trigger data, configure Zapier to send a request to the HighLevel Create Sub-Account API.
Add another Webhooks by Zapier step.
Select Custom Request.

Choose POST as the request method.

Configure the current Create Sub-Account endpoint using the
https://services.leadconnectorhq.com/locations/Configure the required API headers using your agency-level Private Integration Token (PIT) or OAuth 2.0 access token. Refer to the Required API Headers section below.
Map the required sub-account information from the previous Zapier step into the JSON request body. Refer to the Example Request Body section below.
Required API Headers
| Header | Value |
|---|---|
| Authorization | Bearer YOUR_ACCESS_TOKEN |
| Content-Type | application/json |
| Version | v3 |
Example Request Body
{
"name": "Example Business",
"companyId": "YOUR_AGENCY_ID",
"phone": "+14100399400",
"address": "123 Main Street",
"city": "New York",
"state": "NY",
"country": "US",
"postalCode": "10001",
"website": "https://example.com",
"timezone": "US/Eastern",
"prospectInfo": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
}
}Replace the sample values with the corresponding information from your Zapier trigger.
name: Business name for the new sub-account.
companyId: ID of the HighLevel agency under which the sub-account will be created.
phone, address, city, state, country, postalCode, website, and timezone: Business contact and location information.
prospectInfo: Contact information associated with the business.
Ensure the request includes all fields required by the current Create Sub-Account API. Check the API reference for required and optional fields before submitting the request.
Note: The current API uses fields such asname,companyId, andprospectInfo. The legacy V1 request format should not be reused.
Step 5: Test Sub-Account Creation
After configuring the API request:
Click Test in Zapier.

Review the API response.
Confirm that the response contains the new sub-account ID.
Open HighLevel and verify that the sub-account was created successfully.
Publish the Zap after successful testing.
Important: When using the new sub-account ID in subsequent Zap steps, map the ID dynamically from the API response instead of entering a fixed value.
Step 6: Add Users to the New Sub-Account
After creating the sub-account, you can configure an additional API request in Zapier to create or assign users.
Add a new Webhooks by Zapier action.
Refer to the HighLevel API Documentation and select the appropriate user-management endpoint for creating or assigning users.
Configure the API request using the required authentication, permissions, and request fields specified for the selected endpoint.
Map the newly created sub-account ID dynamically from the Create Sub-Account API response in Step 5.
Provide the required user information, such as name and email address, along with any additional fields required by the selected API endpoint.
Test the API request and verify that the user has been created or assigned to the correct sub-account.
Important: User-management API operations require appropriate permissions and may be affected by the agency's Enhanced Security settings. See Manage Agency User Roles and Permissions for more information.
Troubleshooting
Sub-account creation fails
Verify that:
Your HighLevel subscription supports the Create Sub-Account endpoint.
The token is generated at the agency level.
The
locations.writescope is assigned.The request uses the correct API version.
Required fields are included in the request.
Zapier is not receiving webhook data
Ensure the workflow is published and the webhook URL is correct. Submit a new test form to generate sample data.
API returns an authorization error
Check the token, required scopes, and subscription eligibility.
Common API Error Responses
If the API request fails, check the HTTP response status and error message:
400 Bad Request: Review the request body for missing, incorrect, or improperly formatted fields.
401 Unauthorized: Verify that the authentication token is valid and correctly included in the request.
403 Forbidden: Check the subscription plan, token permissions, and API scope requirements.
429 Too Many Requests: The request may have exceeded an API rate limit. Check the response headers and retry according to the applicable rate-limit guidance.
Review the complete API response to identify the specific cause before retrying.
New users are assigned to the wrong sub-account
Ensure the sub-account ID is dynamically mapped from the Create Sub-Account API response.
Frequently Asked Questions
Q: Which HighLevel plan is required to create sub-accounts using APIs?
The Founder Plan ($497/month), formerly Agency Pro, includes the advanced API access required for programmatic sub-account creation.
Q: Can I create sub-accounts using the Starter or Unlimited plan?
No. The Create Sub-Account API is restricted to the higher-tier subscription.
Q: Can I use legacy Agency API Keys?
Private Integration Tokens or OAuth 2.0 are recommended for new integrations. API V1 reached end-of-support on December 31, 2025.
Q: Do I need a paid Zapier plan?
You need a Zapier plan that supports the required Webhooks functionality.
Q: Can I automatically assign users to newly created sub-accounts?
Yes, using supported user-management APIs and the appropriate permissions.
Related Articles
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article