Get Template

Get a Liveblocks template room by ID.

Template ID format: {env}:v1:global:template:{name} Requires authentication (valid JWT).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path Parameters

template_idstringRequired

Response

Successful Response
template_idstring
The unique identifier for the template
created_atstringformat: "date-time"
Timestamp when the template was created
metadatamap from strings to any or null

Template metadata as key-value pairs

last_connection_atstring or nullformat: "date-time"
Timestamp of the last connection to the template

Errors