curl --request PUT \
--url http://localhost:3001/api/settings/email-providers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "<string>",
"config": {
"type": "MailChimp",
"apiKey": "<string>",
"webhookKey": "<string>"
},
"setDefault": true
}
'"<string>"Create or update email provider
curl --request PUT \
--url http://localhost:3001/api/settings/email-providers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "<string>",
"config": {
"type": "MailChimp",
"apiKey": "<string>",
"webhookKey": "<string>"
},
"setDefault": true
}
'"<string>"An empty String
An empty String