---
title: "Get Country Flag"
method: GET
path: "/avatars/flags/{code}"
tags: ["avatars"]
---

# Get Country Flag

`GET /avatars/flags/{code}`

You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings.

## Path parameters

- `code` string, required

## Query parameters

- `width` integer
- `height` integer
- `quality` integer

## Response `200`

Image

---

[API](https://skmtc.net/appwrite/apis/client.md) · [All operations](https://skmtc.net/appwrite/apis/client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/appwrite/client/versions/b1c00a0bc3fb/schema)
