We are launching all new Klivolks 3.0See what is new

Send your first message

From a new organisation to a delivered email in five steps.

  1. Set your tenant code. In the admin panel open Settings and set the organisation's three-letter tenant code. It starts every job number, and sending is refused until it is set.
  2. Add a provider. Open Providers › Email and add one. SMTP works without anything else; for SES, SendGrid and the others, switch the type on in the Marketplace first. Give it a from address.
  3. Create a template. Open Templates › Email, add a template, give it a slug such as welcome and use variables in it, e.g. Hello {{name}}.
  4. Create a service key. Open Services, create a service for your app and copy the key. It is shown once.
  5. Send.
curl -X POST https://comms.klivolks.com/api/send/email/ \
  -H "X-Api-Secret: $COMMS_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1042-welcome" \
  -d '{"template":"welcome","to":"[email protected]","content":{"name":"Asha"}}'

The answer comes back at once:

{"data":{"jobId":"6759...","jobNumber":"KLVEA2612010001","status":"pending","locale":"en"}}

Follow it with GET /api/jobs/{jobId} or under Jobs in the admin panel. Before going live, use Jobs › Test send in the admin panel to check a template and provider without writing code; test sends are not counted against your plan.