Usage of /questions/{id}/close/options


Returns the flag options that make up close reasons that the user identified with an access_token can create for this question. Available flags vary from post to post and user to user, an app should never assume a particular flag can be created without consulting this method.

Conceptually, closing is a subset of flagging. To cast a "close vote" you use the /questions/{id}/flags/add method.

This method returns the available flag_options.

Try It

Stack Overflow [edit]