Skip to main content
GET
/
outbound
/
triggers
/
{id}
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "data": {
    "id": "<string>",
    "provider": "<string>",
    "triggerKey": "<string>",
    "providerEvent": "<string>",
    "agentId": "<string>",
    "callerNumberId": "<string>",
    "mapping": [
      {
        "var": "<string>",
        "eventPath": [
          "<string>"
        ],
        "transform": "<string>"
      }
    ],
    "enabled": true,
    "organizationId": "<string>",
    "connectionId": "<string>",
    "targetCampaignId": "<string>",
    "intentType": "<string>",
    "messageCategory": "<string>",
    "greetingTemplate": "<string>",
    "scheduleOffset": 123,
    "consentAttestedAt": "<string>",
    "lastFiredAt": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  },
  "message": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Clerk JWT (browser). Requires Authorization: Bearer <clerk_jwt> and the X-Organization-Id header. Validated by the ported Clerk middleware, which sets the app.current_organization_id RLS context.

Path Parameters

id
string
required

Response

The trigger.

success
boolean
required
data
object
required

A compiled outbound trigger ("when {event} in {provider} → call {agent}"). The server-authored fields (agentId, callerNumberId, messageCategory, intentType, consentBasis) are PINNED at compile; the inbound payload can never choose them. It lands disabled and the operator enables it (a standing consent attestation).

message
string
errors
object[]