Skip to main content

Collection rules and messaging

How collection happens: rules and their steps, portfolio classifications, message templates, e-mail layouts, the notifications sent, and the sending channels and preferences.

Families on this page​

FamilyToolsreadwritedestructive
collection_rules — Collection rules and steps9342
classifications — Classifications5221
templates — Message templates6231
email_layouts — E-mail layouts2110
notifications — Notifications6213
notification_channels — Notification channels5221
notification_preferences — Notification preferences2110

Collection rules and steps​

ToolKindPermissionEndpointWhat it does
dunning_collection_rules_listreadcollection_rules.listGET /v1/collection-rulesLists the organization’s collection rules, ordered by priority.
dunning_collection_rules_createwritecollection_rules.createPOST /v1/collection-rulesCreates a collection rule, optionally with steps.
dunning_collection_rules_getreadcollection_rules.showGET /v1/collection-rules/{id}Returns a collection rule by ID.
dunning_collection_rules_updatewritecollection_rules.updatePUT /v1/collection-rules/{id}Updates the rule data (partial).
dunning_collection_rules_deletedestructivecollection_rules.deleteDELETE /v1/collection-rules/{id}Soft-deletes the rule and its steps.
dunning_collection_rule_steps_listreadcollection_rules.showGET /v1/collection-rules/{id}/stepsLists the rule steps ordered by position, with the message template embedded.
dunning_collection_rule_steps_createwritecollection_rules.updatePOST /v1/collection-rules/{id}/stepsCreates a step on the rule.
dunning_collection_rule_steps_updatewritecollection_rules.updatePUT /v1/collection-rules/{id}/steps/{stepId}Updates a step (partial).
dunning_collection_rule_steps_deletedestructivecollection_rules.updateDELETE /v1/collection-rules/{id}/steps/{stepId}Soft-deletes a step and reorders the remaining ones.

Classifications​

ToolKindPermissionEndpointWhat it does
dunning_classifications_listreadclassifications.listGET /v1/classificationsLists the organization’s classifications, ordered by priority and name by default.
dunning_classifications_createwriteclassifications.createPOST /v1/classificationsCreates a classification.
dunning_classifications_getreadclassifications.showGET /v1/classifications/{id}Returns a classification by ID.
dunning_classifications_updatewriteclassifications.updatePUT /v1/classifications/{id}Updates a classification (partial).
dunning_classifications_deletedestructiveclassifications.deleteDELETE /v1/classifications/{id}Soft-deletes a classification.

Message templates​

ToolKindPermissionEndpointWhat it does
dunning_templates_listreadtemplates.listGET /v1/templatesLists the organization’s message templates with pagination, search and filters.
dunning_templates_createwritetemplates.createPOST /v1/templatesCreates a message template.
dunning_templates_getreadtemplates.showGET /v1/templates/{id}Returns a template by ID.
dunning_templates_updatewritetemplates.updatePUT /v1/templates/{id}Updates a template (partial).
dunning_templates_deletedestructivetemplates.deleteDELETE /v1/templates/{id}Soft-deletes a template.
dunning_templates_duplicatewritetemplates.duplicatePOST /v1/templates/{id}/duplicateCreates a copy of the template with the given name.

E-mail layouts​

ToolKindPermissionEndpointWhat it does
dunning_email_layouts_listreademail_layouts.listGET /v1/email-layoutsLists the organization’s email layouts (default first) and the built-in reference layout.
dunning_email_layouts_createwriteemail_layouts.createPOST /v1/email-layoutsCreates an email layout.

Notifications​

ToolKindPermissionEndpointWhat it does
dunning_notifications_listreadnotifications.listGET /v1/notificationsLists the organization’s notifications with pagination and filters.
dunning_notifications_createdestructivenotifications.createPOST /v1/notificationsCreates a manual notification for a customer, optionally linked to a charge and a rule step.
dunning_notifications_getreadnotifications.showGET /v1/notifications/{id}Returns a notification by ID; use include to attach relations.
dunning_notifications_updatewritenotifications.updatePUT /v1/notifications/{id}Updates a notification’s status, delivery timestamps and metadata (partial).
dunning_notifications_deletedestructivenotifications.deleteDELETE /v1/notifications/{id}PERMANENTLY deletes a notification (hard delete — the model has no soft delete).
dunning_notifications_resenddestructivenotifications.resendPOST /v1/notifications/{id}/resendCreates a NEW pending notification copied from the original (the new record’s metadata references the original via resend_of).

Notification channels​

ToolKindPermissionEndpointWhat it does
dunning_notification_channels_listreadnotification_channels.showGET /v1/notification-channelsReturns the organization channels.
dunning_notification_channels_createwritenotification_channels.updatePOST /v1/notification-channelsCreates a channel.
dunning_notification_channels_getreadnotification_channels.showGET /v1/notification-channels/{id}Returns a channel by ID.
dunning_notification_channels_updatewritenotification_channels.updatePATCH /v1/notification-channels/{id}Updates a channel (partial).
dunning_notification_channels_deletedestructivenotification_channels.updateDELETE /v1/notification-channels/{id}Removes the channel (soft delete).

Notification preferences​

ToolKindPermissionEndpointWhat it does
dunning_notification_preferences_getreadnotification_preferences.showGET /v1/notification-preferencesReturns the effective gate per message type — types without a saved record appear with all channels enabled.
dunning_notification_preferences_updatewritenotification_preferences.updatePUT /v1/notification-preferencesUpserts the submitted preferences (partial: only the included types are changed).

Each resource's fields are in the API reference.

A tool you cannot run does not appear in tools/list. If one from this page is missing, see Authentication.