Google Review Manual Event
curl --request POST \
--url https://{partner_host}/registered_url_for_google_review_manual_events \
--header 'Content-Type: application/json' \
--data '
{
"event": "google_review.request_manual",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"doctor_id": "doc-abc123",
"patient_id": "patient-xyz789",
"google_review_link": "https://g.page/r/example-review-link/review",
"appointment_id": "apt-67890",
"clinic_id": "clinic-def456"
}
}
'import requests
url = "https://{partner_host}/registered_url_for_google_review_manual_events"
payload = {
"event": "google_review.request_manual",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"doctor_id": "doc-abc123",
"patient_id": "patient-xyz789",
"google_review_link": "https://g.page/r/example-review-link/review",
"appointment_id": "apt-67890",
"clinic_id": "clinic-def456"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'google_review.request_manual',
event_time: 1730189586,
timestamp: 1730189586,
client_id: '67978400352a61001d64e9fb',
business_id: '174159057718553',
data: {
doctor_id: 'doc-abc123',
patient_id: 'patient-xyz789',
google_review_link: 'https://g.page/r/example-review-link/review',
appointment_id: 'apt-67890',
clinic_id: 'clinic-def456'
}
})
};
fetch('https://{partner_host}/registered_url_for_google_review_manual_events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{partner_host}/registered_url_for_google_review_manual_events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'google_review.request_manual',
'event_time' => 1730189586,
'timestamp' => 1730189586,
'client_id' => '67978400352a61001d64e9fb',
'business_id' => '174159057718553',
'data' => [
'doctor_id' => 'doc-abc123',
'patient_id' => 'patient-xyz789',
'google_review_link' => 'https://g.page/r/example-review-link/review',
'appointment_id' => 'apt-67890',
'clinic_id' => 'clinic-def456'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{partner_host}/registered_url_for_google_review_manual_events"
payload := strings.NewReader("{\n \"event\": \"google_review.request_manual\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"doctor_id\": \"doc-abc123\",\n \"patient_id\": \"patient-xyz789\",\n \"google_review_link\": \"https://g.page/r/example-review-link/review\",\n \"appointment_id\": \"apt-67890\",\n \"clinic_id\": \"clinic-def456\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{partner_host}/registered_url_for_google_review_manual_events")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"google_review.request_manual\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"doctor_id\": \"doc-abc123\",\n \"patient_id\": \"patient-xyz789\",\n \"google_review_link\": \"https://g.page/r/example-review-link/review\",\n \"appointment_id\": \"apt-67890\",\n \"clinic_id\": \"clinic-def456\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{partner_host}/registered_url_for_google_review_manual_events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"google_review.request_manual\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"doctor_id\": \"doc-abc123\",\n \"patient_id\": \"patient-xyz789\",\n \"google_review_link\": \"https://g.page/r/example-review-link/review\",\n \"appointment_id\": \"apt-67890\",\n \"clinic_id\": \"clinic-def456\"\n }\n}"
response = http.request(request)
puts response.read_bodyDoctor
Google Review Manual Event
When a Google review request is manually triggered through doctor platform, a webhook is sent to the registered endpoint containing the Appointment ID, Doctor ID, Patient ID, Clinic ID, and Google review link. The receiving system can use these details to update or manage Google review information as needed.
POST
/
registered_url_for_google_review_manual_events
Google Review Manual Event
curl --request POST \
--url https://{partner_host}/registered_url_for_google_review_manual_events \
--header 'Content-Type: application/json' \
--data '
{
"event": "google_review.request_manual",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"doctor_id": "doc-abc123",
"patient_id": "patient-xyz789",
"google_review_link": "https://g.page/r/example-review-link/review",
"appointment_id": "apt-67890",
"clinic_id": "clinic-def456"
}
}
'import requests
url = "https://{partner_host}/registered_url_for_google_review_manual_events"
payload = {
"event": "google_review.request_manual",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"doctor_id": "doc-abc123",
"patient_id": "patient-xyz789",
"google_review_link": "https://g.page/r/example-review-link/review",
"appointment_id": "apt-67890",
"clinic_id": "clinic-def456"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'google_review.request_manual',
event_time: 1730189586,
timestamp: 1730189586,
client_id: '67978400352a61001d64e9fb',
business_id: '174159057718553',
data: {
doctor_id: 'doc-abc123',
patient_id: 'patient-xyz789',
google_review_link: 'https://g.page/r/example-review-link/review',
appointment_id: 'apt-67890',
clinic_id: 'clinic-def456'
}
})
};
fetch('https://{partner_host}/registered_url_for_google_review_manual_events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{partner_host}/registered_url_for_google_review_manual_events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'google_review.request_manual',
'event_time' => 1730189586,
'timestamp' => 1730189586,
'client_id' => '67978400352a61001d64e9fb',
'business_id' => '174159057718553',
'data' => [
'doctor_id' => 'doc-abc123',
'patient_id' => 'patient-xyz789',
'google_review_link' => 'https://g.page/r/example-review-link/review',
'appointment_id' => 'apt-67890',
'clinic_id' => 'clinic-def456'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{partner_host}/registered_url_for_google_review_manual_events"
payload := strings.NewReader("{\n \"event\": \"google_review.request_manual\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"doctor_id\": \"doc-abc123\",\n \"patient_id\": \"patient-xyz789\",\n \"google_review_link\": \"https://g.page/r/example-review-link/review\",\n \"appointment_id\": \"apt-67890\",\n \"clinic_id\": \"clinic-def456\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{partner_host}/registered_url_for_google_review_manual_events")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"google_review.request_manual\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"doctor_id\": \"doc-abc123\",\n \"patient_id\": \"patient-xyz789\",\n \"google_review_link\": \"https://g.page/r/example-review-link/review\",\n \"appointment_id\": \"apt-67890\",\n \"clinic_id\": \"clinic-def456\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{partner_host}/registered_url_for_google_review_manual_events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"google_review.request_manual\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"doctor_id\": \"doc-abc123\",\n \"patient_id\": \"patient-xyz789\",\n \"google_review_link\": \"https://g.page/r/example-review-link/review\",\n \"appointment_id\": \"apt-67890\",\n \"clinic_id\": \"clinic-def456\"\n }\n}"
response = http.request(request)
puts response.read_bodyBody
application/json
Type of event
Available options:
google_review.request_manual Example:
"google_review.request_manual"
Event occurred timestamp
Example:
1730189586
Timestamp of the event
Example:
1730189586
Client ID for the schedule
Example:
"67978400352a61001d64e9fb"
Business ID for the schedule
Example:
"174159057718553"
Show child attributes
Show child attributes
Was this page helpful?
⌘I

