Skip to content

Reference

All calls in version 1. The base URL is https://newsletter.qrona.se/api/v1. The full description is also available as OpenAPI 3.1 for Postman and code generators.

The key

Check that the key works, which workspace it applies to and what it is allowed to do.

Contacts

Contacts are the workspace's recipients. A contact is identified by its email address, which never changes. Only create contacts who have consented to mailings (or where you have another legal basis): an active contact can be reached by mailings to distribution lists even if it is not on any list.

Lists

Lists are audiences with their own sign-up mode: with double opt-in, new sign-ups must confirm by email.

List members

Who is on a list, and sign-ups to it. Sign-ups via the API follow the same rules as the forms: anyone who has unsubscribed or been suppressed is never added without confirming themselves.

Contact fields

The workspace's own fields – the keys that can be used in fields on a contact.

Distribution lists

Distribution lists are contacts that meet conditions (segments). Requires the person behind the key to be an administrator.

Suppression list

Addresses the workspace never sends to: unsubscribed, bouncing, spam complaints and suppressions added manually.

Stores

A web shop in the workspace. Everything in e-commerce belongs to a store and is identified by the store's own IDs, which you choose. PUT creates or updates, so the same call can be repeated without anything being duplicated. Guide: e-commerce

Customers

People who have bought from the shop – with or without consent to mailings. A customer never becomes a contact: it is linked to the workspace contact with the same address as long as one exists, for purchase conditions in distribution lists. Customers and consent

Products

The store's products with variants, for conditions such as “has bought product X”. Guide: e-commerce

Orders

The store's orders with lines. Paid orders count as purchases in conditions and as revenue for the campaign the customer came from (campaign_id). Revenue per campaign

Carts

Open carts. Delete the cart once it has become an order. Guide: e-commerce

Revenue

Revenue per campaign: the paid orders that came from the campaign's links. Revenue per campaign

Batch

Up to 500 calls in one, for example to import old orders. Each operation is validated and run as if it had been sent on its own. Batch and idempotency

Messages

One message at a time to one recipient, made from a Qrona template and the message's own data. Only for the add-on Byråstöd: Klientkommunikation, with Qrona's system key – a person's key cannot send messages. Guide: messages from Qrona

Qrona templates

The templates the messages are made from, designed in Qrona Newsletter against a data contract. Preview a template with data, exactly as it is sent. Templates and data contracts

Webhooks

URLs that are notified of sign-ups, unsubscriptions, bounces and spam complaints in the workspace, signed with HMAC. Requires the person behind the key to be an administrator. Guide: webhooks