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