API V2.0: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 279: Line 279:
= Best Practices =
= Best Practices =
== Token Management ==
== Token Management ==
Tokens last 24 hours. This means that you do not need to retrieve a new token for each request. Getting a new token costs credits so it is best to use an existing one when possible.
== Retrieving information at high frequencies ==
If you need to get data such as new messages or bookings when they come in you do not need to perform frequent GET requests. Instead, you can use webhooks to be notified as soon as a new message/booking etc arrives.
= Examples =
= Examples =
== Authentication ==
== Authentication ==