Cancel a booking
curl --request POST \
--url https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "Candidate requested cancellation"
}
'import requests
url = "https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel"
payload = { "reason": "Candidate requested cancellation" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: 'Candidate requested cancellation'})
};
fetch('https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel', 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-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel",
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([
'reason' => 'Candidate requested cancellation'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel"
payload := strings.NewReader("{\n \"reason\": \"Candidate requested cancellation\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"Candidate requested cancellation\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"Candidate requested cancellation\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": 9001,
"bookingScheduleId": 501,
"bookingLinkId": 8001,
"entityType": "JOB_CANDIDATE",
"entityId": "55021",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com",
"phone": "+15551234567",
"scheduledStartAt": "2026-09-12T02:00:00.000Z",
"scheduledEndAt": "2026-09-12T02:30:00.000Z",
"timezone": "Asia/Manila",
"status": "CANCELLED",
"selectedFormat": null,
"selectedLocation": null,
"bookingAnswers": null,
"meetingLink": null,
"attendanceCode": null,
"attendanceCodeExpiresAt": null,
"attendanceMarkedVia": null,
"attendanceMarkedAt": null,
"createdAt": "2026-09-10T02:00:00.000Z",
"updatedAt": "2026-09-11T08:00:00.000Z"
}
}Candidate Self-Scheduling
Cancel a booking
Cancels an ACTIVE booking. Already-cancelled, already-attended, or no-show bookings cannot be cancelled again.
POST
/
bookings
/
{bookingId}
/
cancel
Cancel a booking
curl --request POST \
--url https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "Candidate requested cancellation"
}
'import requests
url = "https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel"
payload = { "reason": "Candidate requested cancellation" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: 'Candidate requested cancellation'})
};
fetch('https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel', 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-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel",
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([
'reason' => 'Candidate requested cancellation'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel"
payload := strings.NewReader("{\n \"reason\": \"Candidate requested cancellation\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"Candidate requested cancellation\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.taptalent.io/v1/partner/bookings/{bookingId}/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"Candidate requested cancellation\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": 9001,
"bookingScheduleId": 501,
"bookingLinkId": 8001,
"entityType": "JOB_CANDIDATE",
"entityId": "55021",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com",
"phone": "+15551234567",
"scheduledStartAt": "2026-09-12T02:00:00.000Z",
"scheduledEndAt": "2026-09-12T02:30:00.000Z",
"timezone": "Asia/Manila",
"status": "CANCELLED",
"selectedFormat": null,
"selectedLocation": null,
"bookingAnswers": null,
"meetingLink": null,
"attendanceCode": null,
"attendanceCodeExpiresAt": null,
"attendanceMarkedVia": null,
"attendanceMarkedAt": null,
"createdAt": "2026-09-10T02:00:00.000Z",
"updatedAt": "2026-09-11T08:00:00.000Z"
}
}Authorizations
Company-scoped API key. Production keys are prefixed sk_live_,
sandbox keys sk_test_, each followed by 22 base62 characters
(pattern ^sk_(live|test)_[0-9A-Za-z]{22}$). Generate keys in the
TapTalent dashboard under Account Settings → Developers → API Key
Management; a key is shown once at generation and old keys are
invalidated immediately on regeneration.
Path Parameters
Body
application/json
Optional free-text cancellation reason, stored on the booking's activity log.
Was this page helpful?
.png?fit=max&auto=format&n=lKy84_BssSCy2hcz&q=85&s=ac7c949427cc2893306f6036415f087e)