Start a world instance
Create an evolving world from an existing seed, populate it with characters and use it across stories.
Seeds, instances and stories
Section titled “Seeds, instances and stories”A world seed defines a world’s starting point: its setting, rules, lore, characters, places and story possibilities.
A world instance is your evolving version of that world. It holds characters, locations, items, relationships, storylines and story history. As characters act and stories unfold, their changes become part of the instance.
A story is an episode within an instance. A storyline can connect several episodes. Keep the same instance to continue its characters’ lives across stories.
For example, you might create an instance of the Land of Oz and follow a character through several stories there. A second instance of Oz would have its own characters and history.
This guide walks through choosing a seed, creating an instance and retrieving its metadata.
1. Find a world seed
Section titled “1. Find a world seed”Start by listing the world seeds you can create an instance from. Use this catalog to select a setting during development, offer a choice in your interface or choose a world programmatically.
curl "https://api.hiddendoor.co/experience/v1/world-seeds?offset=0&limit=20" \ -H "Authorization: Bearer $HD_API_KEY"An illustrative response:
{ "worldSeeds": [ { "name": "oz", "displayName": "The Land of Oz", "description": "A storybook fantasy filled with talking animals, witches, strange creatures, and more!" } ], "nextOffset": null}Use displayName and description to present the world in your application, and name to address it in API calls. Here the title is “The Land of Oz” and the seed identifier is oz.
Pagination defaults to offset=0 and limit=20; limit can be at most 100. Creation access is filtered after pagination through the underlying catalog, so a page may be short or empty while nextOffset is still an integer. Continue with the returned offset until it is null, rather than stopping at an empty page.
You can create instances from every returned seed.
2. Inspect the world you have chosen
Section titled “2. Inspect the world you have chosen”Retrieve the selected seed’s summary to confirm its name and description. A seed you lack permission to use returns 404, just like an unknown seed.
curl "https://api.hiddendoor.co/experience/v1/world-seeds/oz" \ -H "Authorization: Bearer $HD_API_KEY"This returns the same summary shape as an entry in the list, not the full seed’s rules, lore or canon:
{ "name": "oz", "displayName": "The Land of Oz", "description": "A storybook fantasy filled with talking animals, witches, strange creatures, and more!"}Use this summary to describe the setting in your application.
3. Create a world instance
Section titled “3. Create a world instance”Create an instance using the selected seed’s identifier. The request accepts only worldSeedName in the JSON body; character creation and story setup are separate operations.
curl --include --request POST "https://api.hiddendoor.co/experience/v1/instances" \ -H "Authorization: Bearer $HD_API_KEY" \ -H 'Content-Type: application/json' \ --data '{"worldSeedName":"oz"}'A successful creation returns 201 Created, a Location header pointing to /experience/v1/instances/da1cc53b-9d9e-4edb-83e4-d5a9ee713130, and metadata such as:
{ "instanceId": "da1cc53b-9d9e-4edb-83e4-d5a9ee713130", "worldSeedName": "oz", "createdAt": "2026-11-11T12:00:00Z"}Save instanceId for subsequent calls. The new instance starts with no entities or stories; the following guides show how to populate it and begin play.
Creation checks access again, so a request can fail if access has changed since you retrieved the seed.
4. Retrieve the instance metadata
Section titled “4. Retrieve the instance metadata”Retrieve the instance by its ID when you need its identity and creation details:
curl "https://api.hiddendoor.co/experience/v1/instances/da1cc53b-9d9e-4edb-83e4-d5a9ee713130" \ -H "Authorization: Bearer $HD_API_KEY"The successful 200 response has the same metadata shape as creation:
{ "instanceId": "da1cc53b-9d9e-4edb-83e4-d5a9ee713130", "worldSeedName": "oz", "createdAt": "2026-11-11T12:00:00Z"}Only the owning account can retrieve this metadata. Missing, deleted and inaccessible instances all return 404. To inspect characters, storyline progress and story history, read current game state.
Add your first character
Section titled “Add your first character”Continue with Create characters in a world instance to introduce a character who can take part in stories here.
See the endpoint reference for field constraints and response schemas.