Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Watcherlinks

Create watcherlink

Create a new watcherlink.

POST
/v2/workspace/watcher-links

Authorization

authorization<token>

Use your API key here.

In: header

Request Body

application/jsonRequired
nameRequiredstring
subaccount_namesRequiredAny properties in string,array<string>

A comma-separated list of subaccount names.

curl -X POST "https://app.luxor.tech/api/v2/workspace/watcher-links" \
  -H "authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My watcher link",
    "subaccount_names": "my_subaccount,another_subaccount"
  }'

Default Response

{
  "watcher_link": {
    "id": "265299a1-1730-4eef-9844-b874f622cf34",
    "code": "watcher-de99dd173d394388ab27df5393faf348",
    "name": "My watcher link"
  }
}