/watchlistsaccount-createWatchlistCreates a new watchlist under the caller's ownership. Slug must be globally unique.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`. |
| Field | Type | Default | Description |
|---|---|---|---|
slugrequired | string | URL-safe unique identifier. | |
namerequired | string | Display name. | |
description | string | ||
isPublic | boolean | false | |
ownerId | string |
{
"slug": "string",
"name": "string",
"description": "string",
"isPublic": false,
"ownerId": "string"
}| Field | Type | Description |
|---|---|---|
id | string | Auto-generated UUID primary key. |
slug | string | URL-safe unique identifier for the watchlist. |
name | string | Human-readable display name. |
description | object | |
ownerId | object | |
isPublic | boolean | True when the watchlist is visible to unauthenticated clients. |
createdAt | integer | Record creation timestamp, Unix-seconds. |
updatedAt | integer | Record update timestamp, Unix-seconds. |
{
"id": "00000000-0000-0000-0000-000000000000",
"slug": "string",
"name": "string",
"description": "string",
"ownerId": "string",
"isPublic": false,
"createdAt": 1745798400,
"updatedAt": 1745798400
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}