PUT/v1/4bridge/tasks/{id}

Update 4bridge tasks

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Path parameters

idstringrequired

Request body application/json

namestringnullable
sourceObjectstringnullable
targetObjectstringnullable
actionstringnullable
scheduleTypestringnullable
cronExpressionstringnullable
matchFieldstringnullable
startDatestring (date-time)nullable
debugModebooleannullable
retryAttemptsinteger (int32)nullable
chunkSizeinteger (int32)nullable
isEnabledbooleannullable
fieldMappingsarray of objectFieldMappingDtonullable
sourceFieldstringnullable
targetFieldstringnullable
dest_fieldstringnullable
source_fieldstringnullable
sourceConfigobjectnullable
{key}stringnullable
dependsOnTaskIdstringnullable
deleteFromSourceListbooleannullable
fourSegmentsDesignobjectFourSegmentsDesignDto
strategystringnullable
tableNamestringnullable
columnsarray of objectFourSegmentsColumnDtonullable
namestringnullable
mysql_typestringnullable
nullableboolean
is_pkboolean
source_field_originstringnullable
columnsToAddarray of objectFourSegmentsColumnDtonullable
namestringnullable
mysql_typestringnullable
nullableboolean
is_pkboolean
source_field_originstringnullable

Responses

idstringnullable
integrationIdstringnullable
namestringnullable
sourceObjectstringnullable
targetObjectstringnullable
actionstringnullable
matchFieldstringnullable
scheduleTypestringnullable
cronExpressionstringnullable
startDatestring (date-time)nullable
isEnabledboolean
statusstringnullable
debugModeboolean
retryAttemptsinteger (int32)
chunkSizeinteger (int32)
lastRunAtstring (date-time)nullable
nextRunAtstring (date-time)nullable
fieldMappingsarray of objectFieldMappingDtonullable
sourceFieldstringnullable
targetFieldstringnullable
dest_fieldstringnullable
source_fieldstringnullable
sourceConfigobjectnullable
{key}stringnullable
webhookEndpointobjectWebhookEndpointResponse
idstringnullable
task_idstringnullable
endpoint_urlstringnullable
source_systemstringnullable
is_activeboolean
last_triggered_atstring (date-time)nullable
trigger_countinteger (int32)
created_atstring (date-time)
dependsOnTaskIdstringnullable
dependsOnTaskNamestringnullable
deleteFromSourceListboolean
createdAtstring (date-time)
updatedAtstring (date-time)
curl --request PUT \
  --url 'https://api.4comply.io/v1/4bridge/tasks/00000000-0000-0000-0000-000000000000' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example name",
  "sourceObject": "string",
  "targetObject": "string",
  "action": "string",
  "scheduleType": "string",
  "cronExpression": "0 0 * * *",
  "matchField": "string",
  "startDate": "2026-09-07T12:00:00Z",
  "debugMode": true,
  "retryAttempts": 1,
  "chunkSize": 50,
  "isEnabled": true,
  "fieldMappings": [
    {
      "sourceField": "string",
      "targetField": "string",
      "dest_field": "string",
      "source_field": "string"
    }
  ],
  "sourceConfig": {
    "key": "string"
  },
  "dependsOnTaskId": "00000000-0000-0000-0000-000000000000",
  "deleteFromSourceList": true,
  "fourSegmentsDesign": {
    "strategy": "string",
    "tableName": "Example name",
    "columns": [
      {
        "name": "Example name",
        "mysql_type": "string",
        "nullable": true,
        "is_pk": true,
        "source_field_origin": "string"
      }
    ],
    "columnsToAdd": [
      {
        "name": "Example name",
        "mysql_type": "string",
        "nullable": true,
        "is_pk": true,
        "source_field_origin": "string"
      }
    ]
  }
}'