Question

Go High Level appointment from one subaccount to another

  • 23 December 2022
  • 0 replies
  • 337 views

Hello Zapier Community!

I am relatively new to using API and Webhooks and I am not sure how to format raw JSON data in order to get a successful response.

I am building a zap that triggers off of someone scheduling an appointment on High Level and the zap should send the info of that appointment and schedule an appointment in a different subaccount.

High Level API: https://public-api.gohighlevel.com/

I am currently using this JSON data with all of the fields filled in from the previous step:

curl --location --request POST 'https://rest.gohighlevel.com/v1/appointments/' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"calendarId": "CVokAlI8fgw4WYWoCtQz",
"selectedTimezone": "Asia/Calcutta",
"selectedSlot": "2021-06-23T03:30:00+05:30",
"email": "john@deo.com",
"phone": "+18887324197"
}'

I’m getting the response “Unauthorized” not exactly sure what to do, can you help?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.