Luxor Documentation Hub Logo
Mining Pool/API Documentation/Workspaces

Get watcherlinks

Retrieve a list of watcherlinks.

GET
/v1/workspace/watcher-links

Authorization

authorization<token>

Use your API key here.

In: header

curl -X GET "https://app.luxor.tech/api/v1/workspace/watcher-links" \
  -H "authorization: <token>"

Response body for obtaining list of watcherlinks

{
  "workspace_id": "575370fd-ecb7-40bb-a3da-8af78e0dab6b",
  "watcher_links": [
    {
      "code": "watcher-de99dd173d394388ab27df5393faf348",
      "name": "My watcher link",
      "id": 1,
      "views": 100,
      "created_at": "2021-01-01T00:00:00Z",
      "updated_at": "2021-01-01T00:00:00Z",
      "subaccounts": [
        {
          "id": 0,
          "name": "subaccount_1"
        }
      ]
    }
  ]
}