List preview URLs
curl --request GET \
--url https://studio.weaverse.io/api/v1/content/projects/{projectId}/previews \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://studio.weaverse.io/api/v1/content/projects/{projectId}/previews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://studio.weaverse.io/api/v1/content/projects/{projectId}/previews"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"data": [
{
"id": "clz9d7e8f0015ujm9ikl8ol7p",
"name": "Production",
"url": "https://my-store.example.com",
"sandboxId": null,
"isDefault": true,
"createdAt": "2026-09-02T14:20:11.000Z"
},
{
"id": "clz9d8f9g0016qaz3wsx4edc",
"name": "Local",
"url": "http://localhost:3456",
"sandboxId": null,
"isDefault": false,
"createdAt": "2026-10-01T08:05:37.000Z"
}
]
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}Previews and hostnames
List preview URLs
Lists the project’s preview URLs, default first, then by creation time. A pure read: unlike the dashboard loader, it never creates a default row as a side effect.
url is null and sandboxId is set for sandbox-backed previews, whose URL is computed.
Required scope: project:manage
GET
/
projects
/
{projectId}
/
previews
List preview URLs
curl --request GET \
--url https://studio.weaverse.io/api/v1/content/projects/{projectId}/previews \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://studio.weaverse.io/api/v1/content/projects/{projectId}/previews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://studio.weaverse.io/api/v1/content/projects/{projectId}/previews"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"data": [
{
"id": "clz9d7e8f0015ujm9ikl8ol7p",
"name": "Production",
"url": "https://my-store.example.com",
"sandboxId": null,
"isDefault": true,
"createdAt": "2026-09-02T14:20:11.000Z"
},
{
"id": "clz9d8f9g0016qaz3wsx4edc",
"name": "Local",
"url": "http://localhost:3456",
"sandboxId": null,
"isDefault": false,
"createdAt": "2026-10-01T08:05:37.000Z"
}
]
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}Authorizations
Bearer token: a shop API key (WEAVERSE_API_KEY), a scoped API key or a delegated MCP OAuth token; translation-unit routes also accept a project-bound translation agent token. Each operation lists the scope it requires; the scope table is in the API description.
Path Parameters
Response
Preview URLs
The response is of type object.
Was this page helpful?