---
title: "Get countries"
method: GET
path: "/firewall/apps/{app_id}/countries"
---

# Get countries

`GET /firewall/apps/{app_id}/countries`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/firewall/apps/{app_id}/countries`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `firewall:read`

Get the country-based IP blocking configuration for an app

## Path parameters

- `app_id` integer, required

## Response `200`

The countries configuration has been successfully fetched

- object
  - `mode` 'block' | 'allow'
  - `list` object[]
    - `code` string
    - `name` string

## Other responses

- `404`: App not found

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
