Usage of /questions/{id}/flags/add

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.

This method returns the question being flagged.

Try It

Stack Overflow [edit]