curl --request POST \
--url 'https://api.flashcat.cloud/datasource/upsert?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"integration_id": 123,
"name": "<string>",
"plugin_id": 302,
"settings": {
"channel_ids": [
123
],
"endpoint": "<string>",
"event_types": [
"<string>"
],
"headers": {}
},
"team_id": 123,
"description": "<string>"
}
'