How do I populate the google calendar of users once they make a booking - external user. the calendar needs to create an event along with meet link
@Paulo and @Abbey_Hernandez any documentation on this?
HI @Vinyasa_Health, could you share screenshots with the current setup you have?
As I had mentioned during office hours, I lost all the edits and the history offset did not help either.
So far, I have set up Google auth to fetch therapists' Google Calendar as they need to sync it to receive updates whenever an appointment is booked. However, unable to trigger a query to create an event in the calendar of the therapist and the client (they won't have an account) along with meet link.
I'm bringing the screenshot from OH:
This approach may be creating the following JSON object:
{
"title": "therapy ..... ",
"date": "you value",
"start.datetime: "3847934:32479Z(example)",
"attendees[0].email": "your value",
"attendees[2].email": "your value" ,
}
Where I'm going with this is that using Body: JSON, the keys may be being set as strings. Try using RAW and creating the object yourself:
{
"title": "therapy ..... {{yourReference}}",
"date": {{yourReference}},
"start": {
"datetime": {{yourReference}},
}
"attendees : [
{ email: {{yourReference}} },
{ email: {{yourReference}} }
]
}
I tried setting up the object and this is the error:
"error": {
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "Bad Request"
}
],
"code": 400,
"message": "Bad Request"
}
}
One thing that jumps out as a potential issue is your custom header - it should be titled Content-Type
!