The request has been accepted for processing, but the processing has not been completed yet.
The 202 Accepted status code indicates that the request has been received and understood, and that it has been accepted for processing. However, the processing has not been completed and may not have even started yet. The request might ultimately be acted upon or rejected once processing actually takes place.
A 202 response is returned when the server needs to acknowledge receipt of a request but cannot process it immediately. This is the standard pattern for asynchronous operations where the work will be performed in the background -- such as generating a report, processing a video upload, or sending a batch of emails.
The key distinction from a 200 OK is that 202 explicitly communicates "I got your request and will work on it" rather than "I completed your request." The response body typically includes a job ID or status URL that the client can poll to check progress.
Location header or a URL in the response body where the client can poll for the processing result.job_id) so the client can track and reference the async operation.POST /api/reports/generate HTTP/1.1 Host: api.example.com Content-Type: application/json { "type": "annual-summary", "year": 2025 }
HTTP/1.1 202 Accepted Content-Type: application/json Location: /api/reports/status/rpt_abc123 { "job_id": "rpt_abc123", "status": "queued", "status_url": "/api/reports/status/rpt_abc123", "estimated_time": "30s" }
Track API response codes, uptime, and performance for all your async endpoints around the clock.
Start Free Monitoring