---
title: "Flags"
method: POST
path: "/me/flags"
tags: ["me"]
---

# Flags

`POST /me/flags`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/me/flags`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/me/flags/post.ts> (a function with typed inputs; its response is checked against the schema)

Add flags for the current user. The current limits are 4 flags per request, 128 flags in total. Keys and values can be up to 32 and 64 characters, respectively.

## Request body

- UserFlags

## Response `200`

Successful operation.

- UserFlags

## Other responses

- `400`: No valid data submitted
- `403`: User does not have access to this resource.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
