Create a recurring coding-agent trigger
Creates (or idempotently updates) a coding-agent trigger connector — the recurring, unattended run that burns down the ops queue in --pr mode. Discriminated…
Creates (or idempotently updates) a coding-agent trigger connector — the recurring, unattended run that burns down the ops queue in --pr mode. Discriminated on provider; only the four Shipeasy-fireable providers are accepted (claude_trigger, cursor_trigger, copilot_trigger, jules_trigger). Config + credential(s) arrive together; creates are idempotent by the provider's natural key, so re-creating updates the existing row.
Platforms without a fire endpoint (Codex, Windsurf, Cline, OpenClaw, OpenCode, Continue) cannot be created here — they are scheduled on their own platform (typically a GitHub Actions schedule: cron running the platform's headless CLI with the trigger prompt).
- Register a Claude routine — after
RemoteTrigger {action:"create"}returnstrig_…,{ "provider": "claude_trigger", "config": { "routineId": "trig_…" } }(tokenless is fine; add the fire token later). - Cold Cursor/Jules run — repo coordinates + both keys; Shipeasy launches the run and the PR opens via the provider's GitHub App.
- Copilot cloud agent — repo + a Copilot-licensed user PAT with the "Agent tasks" permission.
Authorization
bearerSdkKey Pass an admin SDK key as Authorization: Bearer sdk_admin_…. Mint via POST /api/admin/keys with type: "admin".
In: header
Header Parameters
Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://shipeasy.ai/api/admin/connectors/trigger" \ -H "Content-Type: application/json" \ -d '{ "provider": "claude_trigger", "name": "Nightly ops sweep", "config": { "routineId": "trig_8fk20" } }'{
"id": "9b0e7c2a-1f3d-4a8e-bf21-0c6a2e5d7f10"
}{
"error": "Malformed request (bad JSON, missing project scope).",
"code": "BAD_REQUEST"
}{
"error": "Missing or invalid admin SDK key.",
"code": "UNAUTHORIZED"
}{
"error": "Key is valid but not allowed to act on this project.",
"code": "FORBIDDEN"
}{
"error": "The request body failed structural (schema) validation.",
"code": "VALIDATION"
}