Authorization header of every request — there are no session tokens, cookies, or OAuth flows involved. Every request must be authenticated; the API does not expose any public endpoints.
Getting your API Key
Your API Key is generated per company inside the SmartPyme web application. Follow these steps to retrieve it:- Log in to app.smartpyme.site.
- Click your company name in the top-right corner, then go to Settings (Configuraciones).
- Navigate to My Account → Integrations tab.
- Copy the API Key shown on that page.
Using your API Key
Include your API Key as a Bearer token in theAuthorization header of every request. No other headers are required for authentication.
Error responses
If your API Key is invalid, missing, or the associated company is inactive, the API returns HTTP401 with the following body: