Back to all status codes

202

Accepted

Success
RFC 7231

The request has been accepted for processing, but the processing has not been completed.

Detailed Information

The 202 status code indicates that the request has been accepted for processing, but the processing has not been completed. The request might or might not be eventually acted upon, and may be disallowed when processing occurs.

Common Examples

  • Asynchronous processing
  • Background tasks
  • Queued requests

Common Uses

  • Background processing tasks
  • Queued requests
  • Long-running operations

Best Practices

  • Provide feedback on request status
  • Include Location header for resource if applicable
  • Use appropriate response body structure

Additional Resources

Read more on MDN