Companies (empresas) are the top-level tenants of the Pagos Hotspot platform. Each company can have multiple routers, products, andDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sistemashm24/pagos_hotspot_api/llms.txt
Use this file to discover all available pages before exploring further.
cliente_admin users. Only super_admin users can create or list companies. Every request in this section must carry a valid session token for a user with the super_admin role.
All endpoints in this section require
Authorization: Bearer <session_token> for a user with role super_admin.POST /admin/empresas
Creates a new tenant company. Theid is auto-generated in the format EMP_ followed by 10 uppercase hex characters.
Company IDs are generated server-side as
EMP_ + 10 uppercase hex characters (e.g. EMP_3A9F1C0B2D). You cannot specify a custom ID.cURL
Request Body
Company display name shown in the admin panel and captive portal.
Primary contact email for the company. Used for platform notifications.
Optional contact phone number.
Conekta secret key (starts with
key_test_ or key_live_). Can be updated later by the cliente_admin user via POST /api/v1/admin/mi-empresa/configurar-conekta.Conekta public key. Can be updated later by the
cliente_admin user.Initial Conekta gateway mode.
"test" or "live".Response (HTTP 200)
Auto-generated company identifier. Format:
EMP_ + 10 uppercase hex characters, e.g. EMP_3A9F1C0B2D.Company display name.
Primary contact email.
Contact phone number, or
null if not provided.Conekta mode set at creation:
"test" or "live".Always
true on creation. Companies are created in active state.Timestamp of company creation.
Example Response
GET /admin/empresas
Returns all registered companies in the system. No pagination is applied — all records are returned in a single response.cURL
Response
Returns an array ofEmpresaResponse objects. See POST /admin/empresas for field descriptions.
Example Response
GET /admin/dashboard
Returns platform-wide aggregate statistics. Use this for a global operations overview across all tenant companies.cURL
Response
UTC timestamp of when the dashboard query was executed.
Example Response
GET /admin/empresas//stats
Returns detailed operational statistics for a single company: router counts, admin user counts, and active API key counts.cURL
Path Parameters
Company ID, e.g.
EMP_3A9F1C0B2D.Response
Example Response