Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

Countries → Display A Country

AI-generated

Summary

Display A Country

Inputs

  • authentication — Authentication method to use with the Infomaniak API. Options: OAuth2 (default) or API Key.
  • countryId (required) — The unique numeric identifier of the country to fetch from the Infomaniak API.
  • returnFullResponse — When true, returns the complete HTTP response object (including headers and status). When false (default), returns only the country data payload.

Output shape

If returnFullResponse is false: the country object returned by the API. If true: the full HTTP response object.

The endpoint used internally is GET /countries/{countryId}.

Examples

Example 1: Get basic info for Switzerland (ID 1)

Set Country Id to 1, leave Return Full Response unchecked, choose your preferred authentication.

Links

Discussion