docs: platform api calls (#17356)

This commit is contained in:
Lauris Skraucis authored and GitHub committed 2024-10-28 13:42:37 +00:00
1 parent f8cbf4693b
commit ed6c94b941
1 file changed
+6 -1
+6 -1
View File
@@ -35,4 +35,9 @@ description: Answers to the most common questions about the Platform API and ato
- No, at the moment you are only allowed to cancel a recurring event.
### 8. Why toggle animation is not working in the AvailabilitySettings atom?
- For the AvailabilitySettings toggle animation to work set the reading direction on the <html> element `<html dir="ltr"> ... </html>`.
- For the AvailabilitySettings toggle animation to work set the reading direction on the <html> element `<html dir="ltr"> ... </html>`.
### 9. What are the authentification methods for making calls to the v2 API?
Either of the two:
- Setting `Authorization: Bearer <token>` header where <token> is access token of the managed user.
- Setting `x-cal-client-id: <client-id>` and `x-cal-secret-key: <client-secret>` where <client-id> is oauth client id and <client-secret> is oauth client secret. Both can be copied from the dashboard.