2xx Success

HTTP 202 Accepted

The request was accepted for processing, but processing has not finished.

202 Accepted means the server accepted the request but has not processed it yet. The work happens later, for example in a queue, and may still fail.

HTTP/1.1 202 Accepted

When servers send it

  • Long jobs such as exports, video encoding or bulk imports.
  • Webhooks and event endpoints that queue the payload and answer immediately.

How to handle it

  • Expect a way to follow up: a status URL in Location or the body, or a callback.
  • Do not treat 202 as success of the operation itself, only of its submission.

Related status codes

Other status codes

1xx Informational

2xx Success

3xx Redirection

5xx Server error

Search all HTTP status codes