Luxor PlatformAPI DocumentationWorkspaces

Create watcherlink

Create a new watcherlink.

POST
/v2/workspace/watcher-links

Authorization

LuxorAPIKey
authorization<token>

Use your API key here.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v2/workspace/watcher-links" \  -H "Content-Type: application/json" \  -d '{    "name": "My watcher link"  }'
{  "watcher_link": {    "id": "265299a1-1730-4eef-9844-b874f622cf34",    "code": "watcher-de99dd173d394388ab27df5393faf348",    "name": "My watcher link"  }}
{  "statusCode": 400,  "code": "FST_ERR_VALIDATION",  "error": "Bad Request",  "message": "body/end_date Required"}