We are launching all new Klivolks 3.0See what is new

Jobs and statuses

Job numbers, the life of a job, retries, archiving and the jobs API.

Every send creates a job. Comms works through jobs in the background: it picks a provider by priority, sends, retries on failure and records what the provider reports afterwards.

Job numbers

Each job gets a readable number, for example KLVEA2612010001: the organisation's tenant code (KLV), the channel (E email, S SMS, W WhatsApp), the provider type's letter, the date (YYMMDD, UTC) and a running number for the day.

Statuses

StatusMeaning
pendingWaiting to be sent: new, scheduled for later, or waiting before a retry.
activeBeing sent now.
completeHanded to the provider.
failedCould not be sent: every attempt failed, or the failure cannot be fixed by retrying (a rejected address, a suppressed recipient).
deliveredThe provider reports it reached the recipient.
bouncedThe recipient's server rejected it.
complainedThe recipient marked it as spam.
undeliveredThe provider could not deliver it (e.g. an SMS carrier failure).

The last four come from delivery tracking and only move forward.

Retries and throttling

A failed attempt is retried automatically with growing waits, trying the next provider by priority. A provider at its rate limit is skipped without using up an attempt, and email from the same sender is spaced a few seconds apart, so a burst does not look like spam. When every attempt is used the job is failed; restart it with PUT /api/jobs/{id}/restart or from the admin panel.

Jobs API

CallDoes
GET /api/jobs?status=&kind=The organisation's jobs, filtered by status and channel.
GET /api/jobs/{id}One job, with its variables and its delivery events.
PUT /api/jobs/{id}/restartSend a failed job again.

Archiving

Old jobs move to the archive (after a year by default). They stay readable under Jobs › Archived in the admin panel and keep their final status.