crm-notifications

Cancel a scheduled CRM notification

Changed on

Cancels a notification that has not gone out yet; 409 once it has started.

post/api/notification-campaigns/{campaign_id}/cancel

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/notification-campaigns/{campaign_id}/cancel
  • Auth: HTTP bearer

Path parameters

campaign_idstring uuid required

Campaign UUID

Response

Successful Response

idstring required

Campaign UUID.

statusstring required

scheduled | sending | sent | failed | cancelled.

scheduled_atstring date-time nullable

When it is, or was, scheduled to go out.

titlestring required

Notification title.

bodystring required

Notification text.

notesstring nullable

Internal note; CRM-only.

audience_typestring required

'filters', 'csv' or 'users'.

audience_sizeinteger nullable

Addresses (csv) or patients (users) in an explicit audience; null for filters.

resolved_countinteger nullable

Patients in the audience when it was sent.

reached_countinteger nullable

Patients reached on at least one device.

unreached_countinteger nullable

Patients not reached.

sent_atstring date-time nullable

When the send finished.

errorstring nullable

Failure reason, if the send failed.

created_by_namestring nullable

Who created it, when known.

created_atstring date-time required

When it was created.

patient_statesstring[]

Stato filters (filters only).

registration_reasonsstring[]

Motivo filters (filters only).

filter_match'any' | 'all'

How stato/motivo filters combine.

recipient_emailsstring[]

Uploaded addresses (csv only).

user_idsstring[]

Selected patient user ids (users only).

Changes