CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 04:32:42 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cache-control: private
set-cookie: prov=1aac1a12-f805-4396-9ea3-b7bd3e297ab8; expires=Mon, 27 Jul 2026 04:32:42 GMT; domain=.stackexchange.com; path=/; secure; httponly
set-cookie: __cf_bm=sqS4MpesfjCpQTz5ZwhAf15wR72slb8LlxCO5K3ebu8-1753590762-1.0.1.1-wJB_D6FX1N3t9Y56VpFj4j7GF7wAMWe.65Ce7t1ecpE9kTOefLYk7Qg4XPI6sF.kHAnpwkVIB6VM8ITM.lu.gX2hB6dmSSS1LyetMPeHPIE; path=/; expires=Sun, 27-Jul-25 05:02:42 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo49btRzrnhBzEJG; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 03:32:42 GMT; HttpOnly
set-cookie: _cfuvid=_yRKFRUBv7EBgjXO8sWZO8xwl1HmE6g0H4wX4..hq8A-1753590762780-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 99df7e18-a6df-41cb-9a1c-267e6f8143b3
x-providence-cookie: 1aac1a12-f805-4396-9ea3-b7bd3e297ab8
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
server: cloudflare
cf-ray: 96596a19bf693e92-BLR
Usage of /questions/{id}/flags/add [POST] -
Stack Exchange API
https://stackoverflow.com/oauth/dialog?client_id=1&key=U4DMV*8nvpm3EOpvf69Rxw((&redirect_uri=https%3a%2f%2fapi.stackexchange.com%2fdocs%2foauth_landing
U4DMV*8nvpm3EOpvf69Rxw((
Usage of /questions/{id}/flags/add POST
Discussion
Casts a flag (including "close votes") against the question identified by id.
The available flag_options on a question are not constant, and must be fetched from /questions/{id}/flag/options.
Use an access_token with write_access to create a flag.
Note that the addition of is_retraction
2.3 to flag_options
means that POSTing an existing Flag Id through flag_option.id
when is_retraction
is true will retract the flag instead of returning an error (as had happened in previous versions).
This method returns the question being flagged.
Try It
about blog terms of use contact us feedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed under CC BY-SA