UdiWatch

Active account

POST /v1/watches

Watch a UDI-DI or SRN. The first read is a baseline and does not create an event. A repeat subject returns the existing watch.

Auth. The account must still be inside its period. Body {"subject"}. A subject that matches CC-XX-digits is an SRN. Anything else is a UDI-DI.

curl -sS -X POST "$BASE/v1/watches" \
  -H "X-API-Key: $UW_KEY" -H 'Content-Type: application/json' \
  -d '{"subject":"AT-MF-000000252"}'

Returns {"watch": {…}}, the same object as GET /v1/watches. Adding a watch reads the register immediately and stores that snapshot. That first read does not create an event. Watching the same subject again returns the existing watch and does not reset the baseline. The watch cap is 409. An expired account is 402.

GET /v1/watchesPATCH /v1/watches/{id}