API REFERENCE

Countries API

The country list AlgaPSA accepts on client locations. This is global reference data — the same for every tenant and read-only — so use it to resolve a country to the code and name a location record expects instead of maintaining your own table.

List countries

GET /api/v1/countries returns every active country with its ISO 3166-1 alpha-2 code, display name, and international dialing prefix phone_code. The list takes no filters and is not paginated.

curl
curl https://algapsa.com/api/v1/countries \
  -H "X-API-Key: $ALGA_API_KEY"

When you add a site with POST /api/v1/clients/{id}/locations, pass the code as country_code and the name as country_name — both are required. See the Clients API for the rest of the location body.

Endpoints

Every endpoint links through to its full parameters, request and response schemas, and code samples.

GET/api/v1/countriesAlgaPSAAlgaDeskList countries