Sandbox version
For experimental use only. Proceed with caution.
accounts
Create a watchlist
post
/watchlists
operationId: account-createWatchlist

Creates a new watchlist under the caller's ownership. Slug must be globally unique.

Unlock protected endpoints

Enter your Bearer token once to enable every protected route in this API reference.

HTTP bearer

Saved for this browser tab only. The credential is never sent until you test an endpoint.

Authorizations
NameLocationDetails
BearerAuthAuthorization header · bearerJWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`.
Request Body
application/json
required
FieldTypeDefaultDescription
slug
required
string
URL-safe unique identifier.
name
required
string
Display name.
description
string
isPublic
booleanfalse
ownerId
string
Example
Json
{
  "slug": "string",
  "name": "string",
  "description": "string",
  "isPublic": false,
  "ownerId": "string"
}
Responses
200
application/json
Successful response
FieldTypeDescription
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.
Example
Json
{
  "id": "00000000-0000-0000-0000-000000000000",
  "slug": "string",
  "name": "string",
  "description": "string",
  "ownerId": "string",
  "isPublic": false,
  "createdAt": 1745798400,
  "updatedAt": 1745798400
}
400
application/json
Invalid input data
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
401
application/json
Authorization not provided
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
403
application/json
Insufficient access
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
500
application/json
Internal server error
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}