Create a world instance
const url = 'https://api.hiddendoor.co/experience/v1/instances';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"worldSeedName":"oz"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.hiddendoor.co/experience/v1/instances \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "worldSeedName": "oz" }'Creates a persistent, evolving instance from a published world seed, without creating characters or starting a story. Returns metadata and a Location header pointing to /experience/v1/instances/{instanceId}. Each successful call creates a new instance; creation is not idempotent. Profile preferences and world-access checks apply. A missing account profile or creation access returns 403; an unknown seed returns 404.
Authorizations
Section titled “ Authorizations ”Request Bodyrequired
Section titled “ Request Bodyrequired ”POST /instances Request body
object
Example
ozExample
{ "worldSeedName": "oz"}Responses
Section titled “ Responses ”POST /instances Positive response
object
The name used to address the seed at creation.
When this instance was created, in UTC.
Example
{ "instanceId": "da1cc53b-9d9e-4edb-83e4-d5a9ee713130", "worldSeedName": "oz", "createdAt": "2026-11-11T12:00:00Z"}Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Bad Request", "message": "Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying."}Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Unauthorized", "message": "Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header."}The account cannot create an instance from this world seed, or has no Hidden Door account profile.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Forbidden", "message": "The account cannot create an instance from this world seed, or has no Hidden Door account profile."}The world seed does not exist.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Not Found", "message": "The world seed does not exist."}The JSON request body exceeds 100 KB. Reduce its size before retrying.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Payload Too Large", "message": "The JSON request body exceeds 100 KB. Reduce its size before retrying."}The server could not complete the request. Internal error details are not exposed.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Internal Server Error", "message": "Internal server error"}