# CreatedAtAction

*noun*

say it: **“kree-AY-tid at AK-shun”** **/kriˈeɪtɪd æt ˈækʃən/**

An ASP.NET Core helper that answers 201 Created with the new item and a Location header pointing at it.

## What is **CreatedAtAction** in ASP.NET Core?

**CreatedAtAction** — A controller helper for a POST that created something. It answers `201 Created`, puts the new item in the body, and adds a `Location` header with the address where the item can be read.

```csharp
[HttpPost]
public ActionResult<Product> Create(Product product)
{
    productDao.Add(product);
    return CreatedAtAction(nameof(GetById), new { id = product.ProductId }, product);
}
```

## In a sentence

- “The POST returns **CreatedAtAction**, so the client knows where to read the new product.”

Level: Journeyman · [More ASP.NET Core terms at this level](https://www.ask-codey.com/glossary?category=aspnet-core&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/createdataction
