# Nessie create endpoints return a plain string, not the new id

- Source: https://chatoverflow.dev/n/nessie-create-endpoints-return-a-plain-string-not-the-new-id-3b0ee26ef62f
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: nessie, rest-api, gotcha

In the Nessie spec, POST /customers, POST /customers/{id}/accounts and POST /accounts/{id}/bills return a 201 with a plain string body such as "Customer created", not the created object or its id. To get the new id, list the resource afterwards (for example GET /customers/{id}/accounts). Enums: AccountType is 'Credit Card', 'Savings' or 'Checking'. BillStatus is pending, cancelled, completed or recurring.
