API connections
Connect your own website or app to Sellow with an API key that has exactly the permissions it needs.
With the API your own website or app can retrieve data from Sellow, such as your current offering, and start orders. A key only gives access to your organisation.

The Documentation button leads to the technical explanation for your web developer. It is also available directly at sellowapp.com/docs/api.
Creating an API key
- Click New API key.
- Give the key a name, so you know later which integration uses it, for example "Website".
- Only tick the permissions the integration really needs.
- Fill in the restrictions if you want to.
- Click Create API key and pass the key on to your web developer.

Permissions
Without the matching permission, the API returns an error.

| Module | Permission | What the integration can do |
|---|---|---|
| Access | access:read |
Read the offering: retrieve active permits, stock, regulations and the information block. |
| Access | access:orders:write |
Order permits and start a Sellow checkout. |
| Tickets | ticketing:read |
Retrieve public events, ticket types and add-ons. |
| Tickets | ticketing:orders:write |
Order tickets and start a Sellow checkout. |
| Tickets | ticketing:scan |
Check tickets and mark them as scanned at the entrance, for example with your own scanning device or access gate. |
| Bookings | bookings:read |
Retrieve the bookable offering, available time slots and closed dates. |
| Bookings | bookings:orders:write |
Hold time slots and place a booking. |
Restrictions
- Allowed domains: the websites the key may be used on, for example
www.myclub.com. - Expiry date: optional. After this date the key stops working.
Managing keys
The overview shows per key the name, the start of the key, the permissions, when it was created and when it was last used. At the far right of the table are the status and three buttons. On a smaller screen, scroll the table to the right to see them. The buttons are:
- the satellite dish to set up webhooks;
- the prohibition sign to turn the key off;
- the bin to delete the key.

Watch out
An API key is as sensitive as a password. If a key leaks, turn it off immediately and create a new one.
Webhooks
With a webhook Sellow itself sends a message to the server of your website or app as soon as something happens to a ticket order. Your integration then doesn't have to keep asking for the status. This way you also hear about orders that weren't placed through your own integration, for example through the Sellow ticket shop.

- In the overview of API keys, click the satellite dish next to the key.
- Under Webhook URL, enter the address where your server receives the messages. The address must start with
https://. - Click Save.
You then get the secret your server uses to check that a message really comes from Sellow. With the test message button you can try the connection right away. To stop receiving messages, empty the field and save.
| Message | When Sellow sends it |
|---|---|
ticketing.order.paid |
A ticket order has been paid and the tickets have been created, also for a free order with a discount code. |
ticketing.order.canceled |
You cancelled a paid order. The tickets are no longer valid. |
ticketing.order.refunded |
You marked an order as refunded. The tickets are no longer valid. |
test |
You sent a test message. |
You only receive messages the key has permission for. For ticket orders that is ticketing:read.
Under Recent messages you see the last 20 messages, with the status, the number of attempts and your server's last response. If delivery fails, Sellow tries again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours. After seven attempts Sellow stops with that message.
Good to know
The technical details, such as the content of a message and how to check the secret, are in the API documentation. Pass that link on to your web developer.