Porta API and webhooks.Connect Porta. Your way.
Connect Porta with accounting software, your own applications and other business systems. Access booking, price and availability data through the API, and receive notices of events in real time through webhooks.
What stays in sync
Data access through the API
- Properties, accommodation types and accommodation units
- Bookings
- Availability by date
- Prices and stay rules
Notices through webhooks
- New bookings, changes and cancellations
- Recorded payments
- New guest messages
- New reviews
Connecting in three steps.
- 1
Create an API key.
In Settings, open the API tab and generate an API key for data access. The key is shown only once, so store it in a safe place.
Name of the key
Knjigovodstvoporta_sk_•••••• - 2
Configure webhooks.
Enter your system's HTTPS address and choose the events you want Porta to notify you about.
Address
https://sustav.primjer.hr/porta
New bookingPaymentGuest message - 3
Verify the notices' authenticity.
Every webhook notice is signed with a secret key, and the signature is in the Porta-Signature HTTP header. By checking the signature, your system can confirm that a notice it received is authentic.
Porta-Signature:t=1764662400,v1=5f2c8e…
Frequently asked questions.
An API key gives access to all account data available through the API. Share it only with trusted people and systems. Keys you no longer use can be revoked in the settings.
If a webhook notice cannot be delivered, Porta tries again after 5, 15 and 30 minutes, and after 2, 6 and 12 hours.
Access to the Porta API and webhooks is included in the Pro plan.