evalinkdocs

Base URLs and regions

One public base URL for every service; your company's region is handled for you.

ReferenceAPI: base URLs and regions — Overview

Every evalink talos REST endpoint is reached through one public base URL, https://talos.evalink.io. A single internal service, the api-gateway, terminates all traffic on that host and is the one place that decides which backend and which region actually serves a request. A request path is always built the same way: the base URL, followed by the fixed /api prefix, followed by a per-service path segment (for example oauth-service, alarm-service, device-service, billing-service, evalink-assistant) that identifies which backend owns the resource, followed by the resource path itself. All requests carry an Authorization: Bearer <token> header, either an OAuth access token or an API token in the form API-<your-token>; the gateway exchanges API tokens for a short-lived access token internally before forwarding the request.

ReferenceAPI: base URLs and regions — URL structure

A request URL consists of a base URL, followed by /api, a service segment, and a resource path. The gateway matches the segment right after /api/ against its configured list of backend services, strips those two path segments, and forwards the remainder of the path to that backend.

Part Value Example
Base URL https://talos.evalink.io —
Prefix /api (fixed for every operation) —
Service segment Identifies the owning backend, e.g. oauth-service, alarm-service, device-service, billing-service, evalink-assistant, brivo-integration, adc-integration /api/alarm-service/alarms
Resource path The resource and, where applicable, its id or sub-resource /api/alarm-service/alarms/<id>/history

For example, listing companies is GET https://talos.evalink.io/api/oauth-service/companies, and reading one alarm's history is GET https://talos.evalink.io/api/alarm-service/alarms/<id>/history. The service segment in the path is a stable identifier of the functional area (see API changelog for how endpoints evolve) — it is not itself a different host or region, just the next path segment after /api.

A handful of endpoints (GraphQL, the short-link redirector, CSV import, XLS upload, PDF export, and a couple of others) are routed by dedicated rules with their own timeouts or retry behavior rather than the generic per-service rule, but they still sit under the same /api/... structure. A small set of internal paths — the API-token exchange endpoint and each service's OpenAPI/actuator endpoints — are explicitly blocked from public access even though they match a valid-looking API path pattern.

ReferenceAPI: base URLs and regions — How a company's region decides routing

evalink talos runs the same service set independently in more than one region (currently eu, ap and us). Every company record has a region field (a free-form string), present on the list, get, create and update responses of the company endpoints described in Company (Oauth service), and accepted on company creation, including through the self-service create-company-for-me endpoint. This field records which region a company's data lives in.

Integrators never need to compute or pass a different host for this: every documented operation is called against the single base URL https://talos.evalink.io, and the api-gateway resolves the right region for you. For an authenticated request, the gateway reads the caller's company region straight out of the access token; if that region is not the region the gateway instance itself is running in, the gateway transparently re-issues the request to that region's internal host and relays the response back, without changing anything the caller sees. A small number of legacy alarm-receiving endpoints (the ARC monitoring-station interfaces) are pinned to always answer from the eu region regardless of the caller's company region, because those integrations only exist there today.

If your integration currently branches its own base URL by a customer's region, point all traffic at https://talos.evalink.io instead — every published endpoint responds there, and cross-region forwarding is handled for you.

ReferenceAPI: base URLs and regions — Troubleshooting
  • Different host in old integration code: if a previous integration or a partner document points to a host other than https://talos.evalink.io, it is stale — use https://talos.evalink.io for every service segment.
  • 404 on a correct-looking path: double check the service segment (e.g. alarm-service vs device-service vs brivo-integration); many similarly named resources live under different services, and the segment is part of the path, not a query parameter or header. Also check the path isn't one of the blocked internal paths (API-docs, actuator, or the token-exchange endpoint), which always return not-found publicly.
  • Wrong region assumed to change the host: setting or reading a company's region does not change which base URL to call; the gateway forwards cross-region requests internally. If requests fail after changing a company's region, look at authentication or company id, not the host.
  • Missing /api prefix: every operation requires the /api prefix before the service segment; a path built without it will not resolve.