Skip to main content

Authentication

The ProAbono API Backoffice uses HTTP Basic Auth — an Agent Key and an API Key encoded together in the Authorization header.

Getting your credentials​

  1. Log into the ProAbono backoffice.
  2. Go to the Integration section.
  3. Copy the Agent Key and the API Key.
warning

Treat these keys like passwords. Store them in environment variables or a secrets manager — never commit them to source code.

Base URL​

All API calls share a single base URL:

https://via.proabono.com
tip

Most GET endpoints require a ?idBusiness=<IdBusiness> query parameter. Always include it as a best practice — even when the endpoint does not strictly require it.

IdBusiness is the internal numeric identifier of your Business, visible in the backoffice Integration section.

The Authorization header​

Credentials are encoded as:

Authorization: Basic <base64(AgentKey:ApiKey)>
curl https://via.proabono.com/v1/Customers?idBusiness=<IdBusiness> \
-u "<AgentKey>:<ApiKey>"
note

All requests and responses use Content-Type: application/json.

StatusMeaning
401 UnauthorizedCredentials are missing or invalid
403 ForbiddenCredentials are valid but the action is not permitted

See Conventions for the full list of HTTP status codes.