APIs return the 201 status code when a request results in creating a new resource. It tells clients that the operation worked as intended and often provides a reference URL. This response improves clarity, reduces ambiguity, and supports structured API behavior in REST-based systems. https://rankyfy.com/201-status-code