# Upsert Allocations `UpsertAllocations` `POST /api/allocations` - [OpenAPI fragment](https://www.lusid.com/docs/api/lusid/endpoints/allocations/UpsertAllocations.json) - [Rendered page](https://www.lusid.com/docs/api/lusid/endpoints/allocations/UpsertAllocations) Upsert; update existing allocations with given ids, or create new allocations otherwise. ## Referenced schemas - [AllocationSetRequest](https://www.lusid.com/docs/api/lusid/schemas/AllocationSetRequest.txt) - [ResourceListOfAllocation](https://www.lusid.com/docs/api/lusid/schemas/ResourceListOfAllocation.txt) [< Allocations](https://www.lusid.com/docs/api/lusid/endpoints/allocations/llms.txt)