Make a new List, optionally with organizations on it. Send an Idempotency-Key so a retry makes one List, not two. Use this when someone asks to save a set of organizations. Answers 201 with the List. The same Idempotency-Key and body again answers 200 with the same id; another body under that key is 409 idempotency_conflict. Rows added here read "by API key" in the app.
Security
bearerKey
- Mock serverhttps://docs.societyhealth.co/_mock/docs/openapi/api/v1/lists
- https://hrcledger.comhttps://hrcledger.com/api/v1/lists
curl -i -X POST \
https://docs.societyhealth.co/_mock/docs/openapi/api/v1/lists \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Virginia systems",
"purpose": "targets",
"rows": [
41,
57
]
}'Response
{ "ok": true, "data": { "id": "Lst8kQ2mZp4xV7nR1tYw", "url": "https://hrcledger.com/lists/items/Lst8kQ2mZp4xV7nR1tYw", "name": "Virginia systems", "purpose": "general", "archived": false, "revisionNo": 2, "updatedAt": "2026-10-16T14:02:11.000Z" } }