← Back to all status codes
2xx Series
Terminal (Do not automatically retry)

201 Created

The request has been fulfilled and has resulted in one or more new resources being created.

🌍

SEO Impact

Neutral. Mostly used for API POST responses rather than documents meant to be indexed.

🔧

Common Causes

  • 1User registration complete
  • 2New database record created successfully

Code Examples

Node.js (Express)
res.status(201).json({ id: newlyCreatedId });
Go
w.WriteHeader(http.StatusCreated)

Related Codes