latestOpenAPI 3.1.02026-08-211286041.7 MB

b0c8a1820333

Connector

Create Connector

Create a new connector.

post/api/v1/connector

Headers

idempotency-keystring

The request's idempotency key

Request body

allowedEventTypesstring[] nullable
descriptionstring
featureFlagsstring[] nullable
instructionsstring
kind'Custom' | 'AgenticCommerceProtocol' | 'CloseCRM' | 'CustomerIO' | 'Discord' | 'Hubspot' | 'Inngest' | 'Loops' | 'Otel' | 'Resend' | 'Salesforce' | 'Segment' | 'Sendgrid' | 'Slack' | 'Teams' | 'TriggerDev' | 'Windmill' | 'Zapier'
logostring uri nullable
namestring required
productType'Dispatch' | 'Stream'
transformationstring required
uidstring nullable

The Connector's UID.

Example request

{
  "allowedEventTypes": [
    "user.signup",
    "user.deleted"
  ],
  "description": "Example connector description",
  "instructions": "Markdown-formatted instructions",
  "logo": "https://example.com/logo.png",
  "name": "My first connector",
  "transformation": "function handler(webhook) { /* ... */ }",
  "uid": "unique-identifier"
}

Response

allowedEventTypesstring[] nullable
createdAtstring date-time required
descriptionstring required
featureFlagsstring[] nullable
idstring required

The Connector's ID.

instructionsstring required
kind'Custom' | 'AgenticCommerceProtocol' | 'CloseCRM' | 'CustomerIO' | 'Discord' | 'Hubspot' | 'Inngest' | 'Loops' | 'Otel' | 'Resend' | 'Salesforce' | 'Segment' | 'Sendgrid' | 'Slack' | 'Teams' | 'TriggerDev' | 'Windmill' | 'Zapier' required
logostring uri nullable
namestring required
orgIdstring required

The Environment's ID.

productType'Dispatch' | 'Stream' required
transformationstring required
transformationUpdatedAtstring date-time required
uidstring nullable

The Connector's UID.

updatedAtstring date-time required

Example response

{
  "allowedEventTypes": [
    "user.signup",
    "user.deleted"
  ],
  "featureFlags": [
    "cool-new-feature"
  ],
  "id": "trtmpl_1srOrx2ZWZBpBUvZwXKQmoEYga2",
  "orgId": "org_1srOrx2ZWZBpBUvZwXKQmoEYga2",
  "uid": "unique-identifier"
}