Cannot see monitor in watchlist added from API

Hi,
I have an API assign to a user.
I opened a group with 3 users.
How should I add monitor from API so it will visible in the watchlist to all users.
I can see the monitor only in user watch list.

Thanks!

1 Like

you should create the monitor in a team’s watchlist. ref the following section from the api doc:

Teams

Enterprise accounts support teams. A team offers a shared Watchlist to a group of people. Each team has a unique id. To get the list of unique IDs corresponding to each team, get the list of teams by using the following command:

curl --user <api_key>: \
-H "Content-Type: application/json" \
<endpoint>groups

One can access and manage a team’s Watchlist using the x-identity request header. Example usage:

curl --user <api_key>: \
-H "Content-Type: application/json" \
-H "x-identity: <teams-uuid>" \
<endpoint>sieve