## Add Watchlist Item `client.V1.Watchlist.AddWatchlistItem(ctx, watchlistID, body) (*V1WatchlistAddWatchlistItemResponse, error)` **post** `/v1/watchlists/{watchlist_id}/items` Add an instrument to a watchlist ### Parameters - `watchlistID string` - `body V1WatchlistAddWatchlistItemParams` - `InstrumentID param.Field[InstrumentIDOrSymbol]` OEMS instrument UUID ### Returns - `type V1WatchlistAddWatchlistItemResponse struct{…}` - `Data AddWatchlistItemData` Response data for adding a watchlist item - `ItemID string` ID of the created item ### 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.AddWatchlistItem( context.TODO(), "550e8400-e29b-41d4-a716-446655440000", clearstreet.V1WatchlistAddWatchlistItemParams{ InstrumentID: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### Response ```json { "data": { "item_id": "770e8400-e29b-41d4-a716-446655440002" }, "error": null, "metadata": { "request_id": "b2c3d4e5-f6a7-8901-2345-678901bcdefg" } } ```