Skip to content

Get a world seed

GET
/world-seeds/{worldSeedName}
curl --request GET \
--url https://api.hiddendoor.co/experience/v1/world-seeds/oz \
--header 'Authorization: Bearer <token>'

Returns metadata for a world seed the caller can create an instance from, not the full engine seed. A known published, unlisted seed can be read by name if the caller has creation access. Missing seeds and seeds the caller cannot create from return 404.

worldSeedName
required
string
>= 1 characters <= 200 characters

Example

oz

GET /world-seeds/:worldSeedName Parameter

GET /world-seeds/:worldSeedName Positive response

Media type application/json
object
name
required

Use this identifier when creating an instance.

string
displayName
required
string
description
required
string

Example

{
"name": "oz",
"displayName": "The Land of Oz",
"description": "A storybook fantasy filled with talking animals, witches, strange creatures, and more!"
}

Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Bad Request
message
required

A human-readable explanation. Do not parse this text for program logic.

string

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.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Unauthorized
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Unauthorized",
"message": "Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header."
}

The authenticated account does not have access to the Experience API.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Forbidden
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Forbidden",
"message": "The authenticated account does not have access to the Experience API."
}

The world seed does not exist or is not available to your application.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Not Found
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Not Found",
"message": "The world seed does not exist or is not available to your application."
}

The server could not complete the request. Internal error details are not exposed.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Internal Server Error
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Internal Server Error",
"message": "Internal server error"
}