UdiWatch

Active account

POST /v1/import

Import a CSV of UDI-DIs or SRNs. One identifier per line, up to 500 lines, still inside the watch cap.

Auth. Active account. Body {"csv":"…"}. One identifier per line. The first cell is used. Separators are comma, tab, or semicolon. A header cell udi, srn, udi-di, subject, or identifier is skipped.

curl -sS -X POST "$BASE/v1/import" \
  -H "X-API-Key: $UW_KEY" -H 'Content-Type: application/json' \
  -d '{"csv":"16977660098955\nAT-MF-000000252"}'

Response: {"added","skipped","errors"}. errors holds at most five strings. Hitting the watch cap stops the import. The lines already added stay. 500 lines is the ceiling.

GET /v1/expiringPOST /v1/webhook