200 OK

The request succeeded and the response body contains the result.

Status code200
Status textOK
Category2xx Success
Response has bodyUsually
SpecificationRFC 9110

What does 200 OK mean?

The request succeeded and the response body contains the result. It belongs to the 2xx Success class, which means the request was received, understood and accepted.

When do APIs return 200?

The standard success response for GET, and for PUT, PATCH or DELETE when the server returns a representation.

How to fix a 200 OK

Nothing to fix. If you get 200 but the body is not what you expected, check the Content-Type response header and whether you hit the right environment.

Reproduce a 200 response

The fastest way to understand a status code is to trigger one and read the full response. Open the API tester and send a request to https://httpbin.org/status/200 — you will see the 200 status along with every response header the server sent. Comparing those headers against a working request is often what reveals the cause.

When you are debugging a real endpoint, check the response headers as carefully as the body, and confirm you are using the right HTTP method for the operation.

Related 2xx status codes