curl --location --request PATCH 'https://public.outreach2day.com/campaigns/webhooks/subscriptions/?workspaceId' \
--header 'authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"endpoint": "string",
"status": "string",
"eventTypes": [
"string"
],
"replyIntents": [
"string"
],
"campaignIds": [
"string"
],
"ignoreOoo": true,
"ignoreAutoReply": true,
"minConfidence": 0,
"headers": {
"property1": "string",
"property2": "string"
}
}'{
"subscription": {
"id": 0,
"workspace_id": 0,
"name": "string",
"endpoint": "string",
"status": "string",
"event_types": [
"string"
],
"reply_intents": [
"string"
],
"campaign_ids": [
"string"
],
"ignore_ooo": true,
"ignore_auto_reply": true,
"min_confidence": 0,
"headers": {
"property1": "string",
"property2": "string"
},
"secret_last4": "string",
"created_by_user_id": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"deleted_at": "2019-08-24T14:15:22.123Z",
"last_tested_at": "2019-08-24T14:15:22.123Z",
"last_error": "string",
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}