v2
latestOpenAPI 3.1.02026-07-312303692.4 MBConnector
Create Connector
Create a new connector.
post/api/v1/connector
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"name": "My first connector",
"uid": "unique-identifier",
"logo": "https://example.com/logo.png",
"description": "Example connector description",
"instructions": "Markdown-formatted instructions",
"allowedEventTypes": [
"user.signup",
"user.deleted"
],
"transformation": "function handler(webhook) { /* ... */ }"
}Response
Example response
{
"id": "trtmpl_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"orgId": "org_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"uid": "unique-identifier",
"allowedEventTypes": [
"user.signup",
"user.deleted"
],
"featureFlags": [
"cool-new-feature"
]
}