Docs Guides

Notifications

RelayDock emails your team when something needs attention, and once more when it is fixed. Everything is also in the event feed, in the panel and over the API.

Who receives them

Add up to 10 addresses under Settings → Notifications. Leave the list empty to use the team owners' addresses.

  • Alerts about registrations, LiveKit and the platform go to the notification addresses, or to the owners when there are none.
  • Billing and limit emails go to the owners and the notification addresses.

Each problem is emailed once while it lasts, not repeatedly. Times in emails are UTC.

Emails

Subject When To
Registration down: <endpoint>A registration has been failing for 5 minutes. The email has the SIP code and the diagnosis.Notification addresses or owners
Registration stopped: <endpoint>Right away when RelayDock stops trying after 3 authentication failures in a row.Notification addresses or owners
Registration restored: <endpoint>The endpoint registered again after one of the two emails above.Notification addresses or owners
Endpoint can't be set up in LiveKit: <endpoint>Setting up the endpoint in LiveKit has failed for 2 minutes, for a reason other than the API key or an unreachable LiveKit API.Notification addresses or owners
Endpoint set up in LiveKit: <endpoint>The setup succeeded after that.Notification addresses or owners
LiveKit connection failed: <team>LiveKit rejects the API key of a project that was verified before.Notification addresses or owners
LiveKit connection restored: <team>The project is verified again.Notification addresses or owners
RelayDock SIP edge is not reportingRelayDock's edge has not reported for 15 minutes. Sent to every active team.Notification addresses or owners
RelayDock SIP edge is backThe edge reports again.Notification addresses or owners
Daily outbound limit reached: <team>The first call rejected with daily-cap in a UTC day.Owners and notification addresses
Your RelayDock trial is ending3 days before the trial ends.Owners and notification addresses
Action needed: choose a RelayDock planThe trial or subscription ended. Calls keep working for 7 days.Owners and notification addresses
RelayDock calls are pausedAfter those 7 days, new calls are rejected until you choose a plan. Registrations stay up.Owners and notification addresses
Your RelayDock payment needs confirmationYour bank asks for an extra confirmation (3D Secure).Owners and notification addresses
RelayDock paused new callsA payment dispute is under review.Owners and notification addresses

The event feed

The panel shows the team's events on the Overview and each endpoint's in its Events tab. Over the API, read the newest events first:

curl "https://api.relaydock.io/api/v1/events?limit=20" \
  -H "Authorization: Bearer $RELAYDOCK_API_KEY"

For the next page, pass the id of the last event you received as before:

curl "https://api.relaydock.io/api/v1/events?limit=20&before=90211" \
  -H "Authorization: Bearer $RELAYDOCK_API_KEY"

Each event has a kind, a severity (ok, info, warn or bad), params with the details and the endpoint it belongs to. Kinds you will see most:

Kind In the panel
registration.up<endpoint> registered
registration.down<endpoint> registration dropped
registration.disabled<endpoint> registration stopped
call.source_rejectedInbound call rejected at <endpoint>
call.relay_autoCall moved to Relay
call.transferredCall transferred
endpoint.created<name> added
endpoint.updated<endpoint> updated
endpoint.deleted<name> deleted
endpoint.provisioned<endpoint> set up in LiveKit
livekit.recreatedLiveKit objects restored for <endpoint>
livekit.provision_failedCouldn't set up <endpoint> in LiveKit
target.verifiedLiveKit project verified
target.failedLiveKit verification failed
fraud.daily_capDaily outbound limit reached

Billing events start with billing.. RelayDock has no webhooks yet: to react to events in your own systems, read the feed periodically.