Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Country (v2) → Get Zones

AI-generated

Summary

Retrieve all zones associated with a specified country using the Gambio v2 API.

Inputs

  • Authentication (required) — Choose the authentication method with the Gambio API: either Basic Auth (admin email and password, works for v2 and v3 API) or Bearer Token JWT (works for v3 API only).
  • Country ID (required) — Specify the ID of the country whose zones you want to retrieve (e.g., 81 for Germany). This is a required numeric input.
  • Request Options — Optional settings for the request, including batching (items per batch and interval), ignoring SSL issues, proxy configuration, and timeout in milliseconds.

Output shape

a list of zone objects associated with the specified country

The output contains all zones for the given country ID retrieved from the Gambio API v2 endpoint /api.php/v2/countries/{countryId}/zones. Pagination and filtering can be controlled via additional query parameters if implemented in request options.

Examples

Example 1: Retrieve all zones for Germany using Basic Auth.

Set Authentication to Basic Auth and Country ID to 81.

Discussion