Migrated from Redmine #1291 | Author: Mario P8 Status: New | Priority: High, I’m very impatient | Created: 2024-10-16
When is it possible to authenticate with the REST API via API key? Currently, 2 API requests are always required for 2FA and, as we have now discovered, these are limited. It would make sense to provide this information in the API documentation as usual. In addition, only 2 users can currently book at the same time. However, at least 5 API requests are required for one booking due to the authentication and the associated endpoints for providing the data. This problem can probably be partially solved by switching to API Key, right?
It would also be useful and transparent to provide an up-to-date dashboard for the used API requests in the admin area or at least send out a warning that there are only x left.
API Key Authentication: We currently don’t support direct API key authentication. However, we offer a renew token option that allows you to refresh and reuse the token indefinitely, making authentication more efficient over time. This could help reduce the number of API calls required for 2FA. Please check Renew token with refresh token section here API documentation | SimplyBook.me Online Scheduling
API Request Limit: We understand your concern regarding API request limits. As part of our free plan, we offer 5,000 API requests, which should accommodate most use cases.
Not sure about 2 users - we have no limitations for this.
API Key Authentication: We currently don’t support direct API key authentication. However, we offer a renew token option that allows you to refresh and reuse the token indefinitely, making authentication more efficient over time. This could help reduce the number of API calls required for 2FA. Please check Renew token with refresh token section here API documentation | SimplyBook.me Online Scheduling
API Request Limit: We understand your concern regarding API request limits. As part of our free plan, we offer 5,000 API requests, which should accommodate most use cases.
Not sure about 2 users - we have no limitations for this.
Sure, you can read it here:
4.2. You hereby understand and agree that a high volume of bookings can cause Your Client(s) to be unable to make a booking in which case they may receive a message to try to book again. This can happen for example when 50 people try to process a booking with a user account in less than 30 seconds or send more than 5.000 API requests per day, accepting that the number of parallel requests is limited by maximum 2 at same time and not exceed 5 requests per second on common servers. In the case a user system causes the server to have extraordinary load, or comes under a DDOS attack, SimplyBook.me may at its own discretion take your system temporarily off-line until the load has passed away.
What about the dashboard for used API requests or a warning if there are only x left?
unfortunately we do not offer any API dashboard. If you need you can always count API requests on your side. From our experience 5K is enough for 99% users
Hi,
I’m using 2FA and if two or more users try to open the calendar at the same time for the first one it is working, but the 2nd, 3rd,.. one receives the following error:
Request URL: https://user-api-v2.simplybook.me/admin/auth/2fa
Request method: POST
Status code: 400 Bad Request
This way the API won’t work. What are the possibilities to fix this?