---
title: Start a world instance
description: Choose the Oz seed, create an evolving world, and retain its identifier across API calls.
---

Create an evolving world from an existing seed, populate it with characters and use it across stories.

## 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

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.

```sh
curl "https://api.hiddendoor.co/experience/v1/world-seeds?offset=0&limit=20" \
  -H "Authorization: Bearer $HD_API_KEY"
```

An illustrative response:

```json
{
  "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

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.

```sh
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:

```json
{
  "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

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.

```sh
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:

```json
{
  "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.

> **CAUTION:**
>
> Creation is not idempotent: each successful call creates a new instance. Do
> not blindly repeat a creation request if its outcome is unknown.

## 4. Retrieve the instance metadata

Retrieve the instance by its ID when you need its identity and creation details:

```sh
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:

```json
{
  "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](https://www.hiddendoor.co/docs/guides/read-the-evolving-world.md).

## Add your first character

Continue with [Create characters in a world instance](https://www.hiddendoor.co/docs/guides/create-characters.md) to introduce a character who can take part in stories here.

See the [endpoint reference](https://www.hiddendoor.co/docs/reference/) for field constraints and response schemas.