# View Flag Endpoint

#### Structure

<table border="1" id="bkmrk-name-type-descriptio" style="border-collapse: collapse; width: 100%; height: 737.907px;"><colgroup><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Name**  
</td><td style="height: 29.7969px;">**Type**  
</td><td style="height: 29.7969px;">**Description**  
</td></tr><tr><td>`id`</td><td>int</td><td>The id of the flag</td></tr><tr><td>`name`</td><td>string</td><td>The **unique** name for the flag</td></tr><tr><td>`color`</td><td>hexcode</td><td>The colour of the flag (format ##RRGGBB)</td></tr><tr><td>`created_at`</td><td>timestamp</td><td>The date the flag was created</td></tr></tbody></table>

#### Example Request

```
GET /api/flags/{id|name}
```

#### Example Response

```json
{
    "id": 1,
    "name": "Flag",
    "color": "#7f3434",
    "created_at": "2025-06-30T08:14:27.000000Z"
}
```