# 200 OK

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

Source: https://apiguide.dev/status-codes/200
Class: success
Defined in: RFC 9110, Section 15.3.1 <https://www.rfc-editor.org/rfc/rfc9110.html#section-15.3.1>
Updated: 2026-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.
