MonitorsTcp monitors
Trigger Check for TCP Monitor
Triggers an immediate check from one eligible monitoring location.
POST /api/tcp-monitors/:tcpMonitorPublicId/trigger-check
Authentication
Requires a valid session and write access.
- Header:
Authorization: Bearer <token>
Parameters
tcpMonitorPublicId(Path, required): TCP monitor public UUID.
Notes
- The location is chosen deterministically from the currently active monitoring locations (filtered by the monitor's or customer's
allowedCheckCountryCodes, if set). - Rate-limited per monitor via a short cooldown; retrying too soon returns
429.
cURL
curl -X POST "https://YOUR_DOMAIN/api/tcp-monitors/44444444-4444-4444-8444-444444444444/trigger-check" \
-H "Authorization: Bearer $TOKEN"Response
{
"success": true,
"message": "Check triggered successfully",
"tcpMonitorId": 300,
"locationCode": "de-nbg",
"queueName": "tcp-monitor-checks-de-nbg"
}Errors
400No eligible monitoring locations for the selected allowed countries401Unauthorized403Forbidden404Not found429Check recently triggered — retry after the cooldown (retryAfterMson the error payload)500/503Failed to trigger check (e.g. "No active monitoring locations available")