Category:API V2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Sorenjensen (talk | contribs) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
API V1 is | API V1 is deprecated, we do not recommend using it for new projects. Information about API V1 can be found here https://wiki.beds24.com/index.php/Category:API | ||
= Authentication = | = Authentication = | ||
| Line 500: | Line 500: | ||
= Webhooks = | = Webhooks = | ||
== Booking webhooks == | == Booking webhooks == | ||
To | To enable the booking webhooks for API V2, they can be enabled under Settings > Properties > Access > Booking webhooks. | ||
== Other webhooks == | == Other webhooks == | ||
Information about other webhooks (including non API V2 webhooks) can be found here [https://wiki.beds24.com/index.php/Category:Webhooks Webhooks] | Information about other webhooks (including non API V2 webhooks) can be found here [https://wiki.beds24.com/index.php/Category:Webhooks Webhooks] | ||
| Line 568: | Line 569: | ||
==What is the API credit limit?== | ==What is the API credit limit?== | ||
The API credit limit restricts how much you can use the API in a 5 minute window. | The API credit limit restricts how much you can use the API in a 5 minute window, it's by default 100 credits per 5 minutes. | ||
Each API request has a cost, this cost is calculated dynamically and depends on how complex the request is. | Each API request has a cost, this cost is calculated dynamically and depends on how complex the request is. | ||
If you go over this limit you will not be able to make additional API calls until the 5 minute period is over. | If you go over this limit you will not be able to make additional API calls until the 5 minute period is over. | ||
You can increase this limit by contacting the support team through our ticketing system and it will cost 10€ per month to get the limit increased to 200 credits per 5 minutes, this limit can be changed/increased as much as you need. | |||
==Where can I see my API credit limit?== | ==Where can I see my API credit limit?== | ||
| Line 632: | Line 635: | ||
In addition, there is a limit of 10000 top level JSON array item per POST request. | In addition, there is a limit of 10000 top level JSON array item per POST request. | ||
==Channel management only through the API== | |||
Please contact the Beds24 support team and open a ticket with your questions about using only the channel management through the API. | |||
==Where can I see the possible values for a booking's apiSourceId (API Source ID)== | ==Where can I see the possible values for a booking's apiSourceId (API Source ID)== | ||