Update notification

Update notification

Updates a single notification by id, e.g. to mark it as seen.

PUT/api/notifications/{id}
Path parameters
idstringrequired
Body
seenboolean

Request

curl
curl -X PUT https://trickest.io/api/notifications/{id} \
  -H "Authorization: Bearer $TRICKEST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ }'

Responses

200Updated notification
idstringrequired
notification_typeenumrequired

One of: MANUAL_RUN_COMPLETED, SCHEDULED_RUN_COMPLETED, RUN_FAILED, WORKFLOW_RELEASED, TOOL_RELEASED, SCRIPT_RELEASED

typestring
titlestring
messagestringrequired
seenboolean
is_readboolean
user_idstring
metadataobject

created_datestringrequired
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.