API V2.0: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 300: Line 300:
==How long do invite codes/tokens last?==
==How long do invite codes/tokens last?==
Invite codes expire after 15 minutes.
Invite codes expire after 15 minutes.
Refresh tokens last forever so long as they are being used.
Refresh tokens last forever so long as they are being used.
Unused refresh tokens expire after 30 days.
Unused refresh tokens expire after 30 days.
Tokens expire after 24 hours.
Tokens expire after 24 hours.
==What is the API credit limit?==
The API credit limit restricts how much you can use the API in a 5 minute window.
Each API request has a cost, this cost is calculated dynamically and depends on how complex the request is.
==Is the API limited per token or per account?==
The API credit limits are at the account level.
This means that tokens under the same account share the same credit limit.
==How do I make a new booking/property/room etc?==
Simply do not include an id in your POST request.
==Where can I see examples for how to use the API?==
Examples can be found here [https://beds24.com/api/v2 beds24.com/api/v2]