Skip to main content

Success (2xx)

HTTP/1.1

200 OK

The request has succeeded. The response payload contains the requested resource representation.

CategorySuccess (2xx)
API error types0 error schemas
Related headers34 headers
Updated2026-07-09

What does HTTP status code 200 mean?

The 200 OK status code is the generic success response indicating that the request was processed successfully and the result is returned in the response body.

When to use it in APIs

Use 200 for successful GET requests returning data, successful PUT or PATCH updates that return the modified resource, and successful POST operations that do not result in resource creation.

How it compares to other codes

  • 201 Created: Use 201 when a new resource was created, reserving 200 for read, update, or non-creational actions.
  • 204 No Content: Use 204 when a delete or update succeeded but returns no response payload.
34