Overview
Agencies Management API
Create, list, update, and delete agencies, and manage GoHighLevel location associations via the Agencies Management API.
Overview
Use the Agencies Management API to manage agency entities in Mythic Analytics. Agencies group multiple client tenants under a single management entity, enabling multi-tenant operations for resellers and white-label partners.
Base URL
All endpoints share the same base URL and version prefix.
https://api.mythic-analytics.com/api/v1
Response envelope
All endpoints return a JSON envelope.
successboolean
RequiredWhether the request succeeded.
dataobject|array|null
Resource payload. Shape depends on the endpoint.
countinteger
Total number of matching resources. Present on list endpoints.
errorstring|null
Error message on failed requests.
Key concepts
| Concept | Description |
|---|---|
| Agency | A management entity that groups related client tenants |
| Location | A GoHighLevel location linked to an agency for CRM integration |
| Client count | Automatically tracked number of clients associated with each agency |
Error handling
| Status | Meaning |
|---|---|
400 | Invalid JSON, missing required fields, or validation error |
401 | Admin key missing or invalid |
404 | Agency not found |
409 | Conflict — duplicate agency name |
500 | Internal server error |
Check both the HTTP status code and the error field in the response body for programmatic error handling.
Was this page helpful?
Built with Documentation.AI
Last updated today