Is there a way of using the API to submit a suggested edit?

This would allow users without the edit privilege to at least submit their suggestion.

There is no create/add endpoint listed in the docs under Suggested Edits.

When using the edit question endpoint with a user without the edit privilege, the following error is returned:

  "error_id": 407,
  "error_message": "Account is not allowed to suggest edits",
  "error_name": "write_failed"

Which looks like an error when a user receives a suggested edit ban, but suggesting the edit works when using the website instead of the API, so I'm assuming there is no penalty associated.

1 Answer 1


This functionality is not available in the official released version of the API (2.2), but since the Stack Exchange apps (now discontinued) do have this functionality, it must exist, right? Indeed, it's part of the undocumented 2.3 version of the API.

Somebody asked the same question on Meta Stack Exchange: Stack Exchange API returning 407: Account is not allowed to suggest edits. More details to be found there, but the good news is that you only have to change the endpoint (provided your current implementation works for regular edits):

  • replace /2.2/questions/{id}/edit with /2.3/questions/{id}/suggested-edit/add
  • replace /2.2/answers/{id}/edit with /2.3/answers/{id}/suggested-edit/add

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .