## Create Watchlist `client.V1.Watchlist.NewWatchlist(ctx, body) (*V1WatchlistNewWatchlistResponse, error)` **post** `/v1/watchlists` Create Watchlist ### Parameters - `body V1WatchlistNewWatchlistParams` - `Name param.Field[string]` The desired watchlist name. ### Returns - `type V1WatchlistNewWatchlistResponse struct{…}` - `Data WatchlistEntry` Represents a user watchlist. - `ID string` The unique identifier for the watchlist. - `CreatedAt Time` The timestamp when the watchlist was created. - `Name string` The user-provided watchlist name. ### Example ```go package main import ( "context" "fmt" "github.com/clear-street/clear-street-go" "github.com/clear-street/clear-street-go/option" ) func main() { client := clearstreet.NewClient( option.WithAPIKey("My API Key"), ) response, err := client.V1.Watchlist.NewWatchlist(context.TODO(), clearstreet.V1WatchlistNewWatchlistParams{ Name: "name", }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### Response ```json { "data": { "created_at": "2025-01-23T12:00:00.000000000Z", "id": "770e8400-e29b-41d4-a716-446655440002", "name": "Growth Stocks" }, "error": null, "metadata": { "request_id": "b2c3d4e5-f6a7-8901-2345-678901bcdefg" } } ```