T

Trigger.dev Realtime HTTP API

REST discovered

Details
URL
https://api.trigger.dev/realtime/v1
Docs
https://trigger.dev/docs/realtime/overview
Authentication
Trigger.dev Secret API key api_key discovered Get key ↗
Authorization: Bearer <credential>

Sign in to Trigger.dev Cloud, open your project, then go to the API Keys page in the dashboard to copy the environment-specific secret key (tr_dev_…, tr_prod_…, etc.). Use it server-side only. For preview branches, also copy the preview branch value and set TRIGGER_PREVIEW_BRANCH as documented on API keys.

Trigger.dev Public Access Token bearer discovered
Authorization: Bearer <credential>

Generate a public access token from your backend using auth.createPublicToken(...) in the Realtime auth guide. Scope it to only the runs, tags, tasks, or sessions your client should access. These tokens are intended for frontend or limited client/backend realtime access, not full project administration.

Trigger.dev Trigger Token bearer discovered
Authorization: Bearer <credential>

Generate a trigger token from your backend following the Realtime auth guide. These are single-use frontend-safe tokens for triggering tasks from React hooks and related realtime flows.