curl --request POST \
--url https://api.wellapp.ai/v1/connectors \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "connector",
"attributes": {
"slug": "salesforce",
"name": "Salesforce",
"description": "Connects to Salesforce CRM for sync.",
"category": "api",
"direction": "import",
"tags": [
"crm",
"cloud",
"sync"
],
"version": "2.1.0",
"data_quality": {
"imported_fields": [
"invoice",
"company",
"people"
],
"last_synced": "2025-06-20T09:00:00Z"
},
"redirect_url": "https://app.well.com/connectors/salesforce/success",
"state": "active"
},
"relationships": {
"published_by": {
"data": {
"type": "workspace",
"id": "airbyte"
}
},
"logo": {
"data": {
"type": "media",
"id": "media3"
}
}
},
"included": [
{
"type": "workspace",
"id": "airbyte",
"attributes": {
"name": "Airbyte",
"description": "Open-source data integration platform",
"website": "https://airbyte.com",
"external_workspace_id": "airbyte_workspace_001"
}
},
{
"type": "media",
"id": "media3",
"attributes": {
"file_name": "salesforce_logo.png",
"content_type": "image/png",
"file_size": 15420,
"media_type": "logo",
"upload_url": "https://storage.well.com/media/salesforce_logo.png"
}
}
]
}
'{
"data": {
"type": "connector",
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"attributes": {
"slug": "salesforce",
"name": "Salesforce",
"description": "Connects to Salesforce CRM for sync.",
"category": "api",
"direction": "import",
"tags": [
"crm",
"cloud",
"sync"
],
"status": "active",
"data_quality": {
"imported_fields": [
"invoice",
"company",
"people"
],
"last_synced": "2025-06-20T09:00:00Z"
},
"redirect_url": "https://app.well.com/connectors/salesforce/success",
"state": "active",
"created_at": "2025-10-07T14:30:00.000Z",
"updated_at": "2025-10-07T14:30:00.000Z"
},
"relationships": {
"published_by": {
"data": {
"type": "workspace",
"id": "airbyte"
}
},
"logo": {
"data": {
"type": "media",
"id": "550e8400-e29b-41d4-a716-446655440010"
}
}
}
},
"included": [
{
"type": "workspace",
"id": "airbyte",
"attributes": {
"name": "Airbyte",
"description": "Open-source data integration platform",
"website": "https://airbyte.com"
}
},
{
"type": "media",
"id": "550e8400-e29b-41d4-a716-446655440010",
"attributes": {
"file_name": "salesforce_logo.png",
"content_type": "image/png",
"file_size": 12345
}
}
]
}Create a new connector record with integration details, configuration, and various relationships including published by workspace and media assets.
curl --request POST \
--url https://api.wellapp.ai/v1/connectors \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "connector",
"attributes": {
"slug": "salesforce",
"name": "Salesforce",
"description": "Connects to Salesforce CRM for sync.",
"category": "api",
"direction": "import",
"tags": [
"crm",
"cloud",
"sync"
],
"version": "2.1.0",
"data_quality": {
"imported_fields": [
"invoice",
"company",
"people"
],
"last_synced": "2025-06-20T09:00:00Z"
},
"redirect_url": "https://app.well.com/connectors/salesforce/success",
"state": "active"
},
"relationships": {
"published_by": {
"data": {
"type": "workspace",
"id": "airbyte"
}
},
"logo": {
"data": {
"type": "media",
"id": "media3"
}
}
},
"included": [
{
"type": "workspace",
"id": "airbyte",
"attributes": {
"name": "Airbyte",
"description": "Open-source data integration platform",
"website": "https://airbyte.com",
"external_workspace_id": "airbyte_workspace_001"
}
},
{
"type": "media",
"id": "media3",
"attributes": {
"file_name": "salesforce_logo.png",
"content_type": "image/png",
"file_size": 15420,
"media_type": "logo",
"upload_url": "https://storage.well.com/media/salesforce_logo.png"
}
}
]
}
'{
"data": {
"type": "connector",
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"attributes": {
"slug": "salesforce",
"name": "Salesforce",
"description": "Connects to Salesforce CRM for sync.",
"category": "api",
"direction": "import",
"tags": [
"crm",
"cloud",
"sync"
],
"status": "active",
"data_quality": {
"imported_fields": [
"invoice",
"company",
"people"
],
"last_synced": "2025-06-20T09:00:00Z"
},
"redirect_url": "https://app.well.com/connectors/salesforce/success",
"state": "active",
"created_at": "2025-10-07T14:30:00.000Z",
"updated_at": "2025-10-07T14:30:00.000Z"
},
"relationships": {
"published_by": {
"data": {
"type": "workspace",
"id": "airbyte"
}
},
"logo": {
"data": {
"type": "media",
"id": "550e8400-e29b-41d4-a716-446655440010"
}
}
}
},
"included": [
{
"type": "workspace",
"id": "airbyte",
"attributes": {
"name": "Airbyte",
"description": "Open-source data integration platform",
"website": "https://airbyte.com"
}
},
{
"type": "media",
"id": "550e8400-e29b-41d4-a716-446655440010",
"attributes": {
"file_name": "salesforce_logo.png",
"content_type": "image/png",
"file_size": 12345
}
}
]
}Bearer token for authentication
Show child attributes
Resource type identifier
"connector"Show child attributes
Connector slug used in URLs (system generated if not provided)
255"salesforce"
Connector name
255"Salesforce"
Description of the connector
1000"Connects to Salesforce CRM for sync."
Category type. See all available categories for complete list.
database, data_warehouse, file, ... "api"
Data flow direction capability
import, export "import"
Grouping/search tags
["crm", "cloud", "sync"]Connector version
"2.1.0"
Show child attributes
Category connector. See all available categories for complete list.
invoice, company, people, ... ["invoice", "company", "people"]Timestamp of last sync
"2025-06-20T09:00:00Z"
URL to redirect customers after onboarding flow
"https://app.well.com/connectors/salesforce/success"
State included in the redirect URL
"active"
Show child attributes
Show child attributes
Show child attributes
Workspaces associated with this company
Show child attributes
Show child attributes
"workspace"Temp-id that references to the publisher defined in the included array
Show child attributes
Workspace name
1 - 255Workspace description
1000Avatar color in hexadecimal format (e.g., #FF5733)
External workspace identifier
1 - 255Media files associated with this company
Show child attributes
Show child attributes
"media"Temp-id that references to the logo defined in the included array
Show child attributes
Type of media (avatar, logo, banner) See Media type documentation for complete list.
avatar, logo, banner Direct media URL
Marks preferred media. Default: true
Connector created successfully
Show child attributes
"connector"UUID of the created connector
"550e8400-e29b-41d4-a716-446655440000"
Show child attributes
Connector slug used in URLs (system generated if not provided)
255"salesforce"
Connector name
255"Salesforce"
Description of the connector
1000"Connects to Salesforce CRM for sync."
Integration category. See all available categories for complete list.
database, ... "api"
Data flow direction capability
import, export, both "import"
Grouping/search tags
["crm", "cloud", "sync"]Show child attributes
Category connector. See all available categories for complete list.
invoice, company, people ["invoice", "company", "people"]Timestamp of last sync
"2025-06-20T09:00:00Z"
URL to redirect customers after onboarding flow
"https://app.well.com/connectors/salesforce/success"
State included in the redirect URL
"active"
Lifecycle status (system managed)
active, beta, deprecated "active"
Creation timestamp
"2025-10-07T14:30:00.000Z"
Last update timestamp
"2025-10-07T14:30:00.000Z"
Show child attributes
Show child attributes
Object containing included resources referenced in relationships, organized by resource type. These are the actual created/linked resources with real UUIDs.
Show child attributes
Workspaces associated with this company
Show child attributes
Show child attributes
"workspace"UUID of the workspace
Show child attributes
Workspace name
1 - 255Workspace description
1000Avatar color in hexadecimal format (e.g., #FF5733)
External workspace identifier
1 - 255Media files associated with this company
Show child attributes
Show child attributes
"media"UUID of the media
Show child attributes
avatar, logo, banner URL to the media file
Whether this is the primary media
Timestamp when media processing completed