Skip to main content
PUT
/
api
/
v1
/
notification-settings
Update Notification Settings
curl --request PUT \
  --url https://www.catchthegoodones.com/api/v1/notification-settings
{
  "summaryFrequency": "after_every_sync",
  "emailSummariesEnabled": true,
  "telegramSummariesEnabled": false
}
Updates one or more notification preferences. At least one field must be provided.

Headers

HeaderRequiredDescription
AuthorizationYesBearer ctgo_your_api_key_here
Content-TypeYesapplication/json

Body

FieldTypeRequiredDescription
summaryFrequencystringNo"after_every_sync", "daily", "weekly", or "off"
emailSummariesEnabledbooleanNoEnable or disable email summaries
telegramSummariesEnabledbooleanNoEnable or disable Telegram summaries
At least one field must be provided.

Example

curl -X PUT https://www.catchthegoodones.com/api/v1/notification-settings \
  -H "Authorization: Bearer ctgo_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"summaryFrequency": "after_every_sync", "emailSummariesEnabled": true}'

Response

{
  "summaryFrequency": "after_every_sync",
  "emailSummariesEnabled": true,
  "telegramSummariesEnabled": false
}