Skip to content
2xx Success

201 Created

The request succeeded and created one or more new resources.

What causes it

  • A POST that created a record; a PUT to a URL that did not previously exist.

How to fix it

  • Include a `Location` header pointing at the new resource — clients rely on it and many APIs forget it.

At a glance

Class
2xx Success
Reference
RFC 9110 §15.3.2
Standardised
Yes
Retry the request?
No — fix the request

Other 2xx success codes

Back to the full HTTP status code reference