202 Accepted

All status codes
2xx · Successterminal

202Accepted

The request has been accepted for processing, but the processing has not been completed. The request might or might not be eventually acted upon.

What this code obliges you to do

Retry

Do not retry automatically

Repeating the same request produces the same result. A retry loop here just multiplies load and hides the real fault.

Caching

Not cacheable by default

Caches will not store this response unless you send explicit freshness headers saying they may.

Response body

Body allowed

You may return a payload explaining the outcome — for an error, a machine-readable problem document is worth the effort.

When you see it

2
1

Asynchronous job queued (e.g., video processing)

2

Webhook triggered successfully

Effect on search

Neutral. Often used for background job APIs.

How to send it

1
Ruby (Rails)
head :accepted

Codes people confuse with this one

2
Class2xx
RetryNo
CacheNo
BodyAllowed