🔑 How to Generate API Credentials (PMS OpenAPI)
To access the PynBooking PMS API, you must generate API credentials (Client ID and Client Secret) from your PMS account.
⚠️ Important: the OpenAPI module is available only in the Premier package.
⚙️ Steps to Generate API Credentials
- Go to Subscription Payment.
- Open the AddOn section.
- Activate the OpenAPI module.
- Click on API Keys.
- Click Add Access Control.
- Enter a name for the access and click Next.
- Select the endpoints/modules you want to allow access to and click Next.
- Enter the allowed IP addresses.
- Click Create.
🧠 Important Notes
🔐 You can select only specific endpoints/modules to grant access. It is recommended to limit access to only what is required for each integration.
🏷️ The access name should reflect the provider or integration using the key.
Example names:
- SiteMinder Integration
- Custom Mobile App
- Accounting Sync
- Channel Manager - XYZ
This helps you easily identify who is using the key and manage access more efficiently.
🌐 API Documentation
Full API documentation is available here: https://api.pynbooking.com/doc
🔒 Security Best Practices
- 🚫 Do not expose your Client Secret.
- 🌍 Restrict access by IP whenever possible.
- 🔑 Use separate credentials for each integration.
- ♻️ Revoke keys that are no longer in use.