Skip to main content

Questions about API methods that add or modify content on Stack Exchange sites. These methods must be invoked via HTTP POST.

This tag is for questions about API methods that add or modify content on Stack Exchange sites ("write methods").

This tag is not for any old question involving modification of something on SE's side. Creation of filters and working with access tokens are not appropriate for this tag - use or instead.

Important: Write methods will fail if you access them via HTTP GET! You must POST to these methods, including parameters in the POST body instead of the query string.

Caveats

  • Any quality check failure on a question or answer will cause it not to be posted (the request will fail). This includes some circumstances where posting from the site would not fail (e.g. Stack Overflow's "This question appears subjective").
  • Suggested edits don't work. At all. You need full edit privileges to use post edit methods (unless they're your posts).
  • Voting to delete is not yet possible; deletion only works on your own posts.

Existing write methods

Questions

Answers

Comments