The DevOps Drop
Home / Encyclopedia / HTTP Status Codes / 2xx Successful Responses / 202 Accepted

202 Accepted

The HTTP 202 Accepted status code indicates that a request has been received but has not yet completed processing. Learn how it is used for asynchronous systems and background jobs.

Published 16 Jul 2026 · HTTP Status Code

What is HTTP 202 Accepted?

The 202 Accepted status code indicates that the server has accepted a request for processing, but the work has not finished yet.

Unlike 200 OK, the response does not mean the operation completed successfully, only that it has been accepted.

Common Uses

The 202 Accepted response is commonly used for long-running operations.

  • Background jobs
  • File processing
  • Report generation
  • Deployment workflows

Example

POST /deploy HTTP/1.1

HTTP/1.1 202 Accepted

{
    "job_id": "abc123",
    "status": "processing"
}

Why Does It Matter For DevOps?

Modern infrastructure relies heavily on asynchronous processing.

  • CI/CD pipelines
  • Cloud provisioning
  • Container deployments
  • Queue workers

Summary

The 202 Accepted response allows systems to acknowledge requests that will complete asynchronously.