Skip to content

Get a storyline

GET
/instances/{instanceId}/storylines/{storylineId}
curl --request GET \
--url https://api.hiddendoor.co/experience/v1/instances/da1cc53b-9d9e-4edb-83e4-d5a9ee713130/storylines/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Read an instantiated storyline and the stories fulfilling its chapters. Chapter entityIds are canon references, not necessarily entity UUIDs in this instance. An offer’s expiry does not end a storyline that has already started.

instanceId
required
string format: uuid

Example

da1cc53b-9d9e-4edb-83e4-d5a9ee713130

GET /instances/:instanceId/storylines/:storylineId Parameter

storylineId
required
string format: uuid

GET /instances/:instanceId/storylines/:storylineId Parameter

GET /instances/:instanceId/storylines/:storylineId Positive response

Media type application/json
object
id
required
string format: uuid
worldId
required
string format: uuid
templateId
required
string
templateVersion
required
string | null
name
required
string
mcEntityId
required
string | null format: uuid
status
required
string
Allowed values: active completed cancelled
beats
required

The complete resolved beat sequence, including upcoming beats, in order.

Array<object>
object
beatId
required
string
source
required
string
Allowed values: authored inspired
name
required
string
description
required
string
teaser
required
string
entityIds

Canon identifiers, not instance entity UUIDs.

Array<string>
status
required
string
Allowed values: open hit skipped
fulfilledByStoryId
required
string | null format: uuid
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
availableUntil

The offering window end; does not expire an existing storyline.

string | null format: date-time

Example

{
"status": "active",
"beats": [
{
"source": "authored",
"status": "open"
}
]
}

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 resource does not exist or is not accessible 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 resource does not exist or is not accessible 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"
}