Preview ongoing Bloomerang sync preparation
Requires a connected Bloomerang connection, approved donor mapping with provider Id, a tenant donor form and a non-future cursor_at. Scans local historical source ids and exact household membership to plan safe identity-link adoption; collisions and non-exact households are counted rather than guessed. Does not adopt mappings, alter cursors/settings or queue record movement. Requires the integration platform global/configured client feature gate (normally integration_platform_foundation). Requires permission: one of access_account_settings.
curl --request POST \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cursor_at": "2026-10-20T12:00:00Z"
}
'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview"
payload = { "cursor_at": "2026-10-20T12:00:00Z" }
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({cursor_at: '2026-10-20T12:00:00Z'})
};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview', 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://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview",
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([
'cursor_at' => '2026-10-20T12:00:00Z'
]),
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://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview"
payload := strings.NewReader("{\n \"cursor_at\": \"2026-10-20T12:00:00Z\"\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://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cursor_at\": \"2026-10-20T12:00:00Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview")
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 \"cursor_at\": \"2026-10-20T12:00:00Z\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"cursor_at": "2023-11-07T05:31:56Z",
"cursor_resources": [
"<string>"
],
"donors": {
"scanned": 2,
"with_source_id": 2,
"create_mappings": 2,
"already_mapped": 2,
"conflicts": 2,
"conflict_samples": [
{
"provider_object_id": "Example",
"reason": "Example",
"hys_object_ids": [
42
]
}
]
},
"households": {
"create_mappings": 2,
"already_mapped": 2,
"not_exact": 2,
"conflicts": 2,
"conflict_samples": [
{
"provider_object_id": "Example",
"reason": "Example",
"hys_object_ids": [
42
]
}
]
},
"side_effects": {
"donor_writes": 0,
"household_writes": 0,
"financial_writes": 0,
"payment_method_writes": 0,
"communications": 0,
"queued_sync_runs": 0
}
},
"message": "Example"
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}Authorizations
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Connection id in the current organization.
Body
Validated request fields for this operation.
Cursor at. Validation: required, date.
"2026-10-20T12:00:00Z"
Response
Operation result.
"success"
Existing local donor provenance and exact household membership adoption plan. Private mapping payloads are omitted; conflict samples are capped at 25 per group. Preview performs no provider write or sync dispatch.
Show child attributes
Show child attributes
Operation receipt.
"Example"
curl --request POST \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cursor_at": "2026-10-20T12:00:00Z"
}
'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview"
payload = { "cursor_at": "2026-10-20T12:00:00Z" }
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({cursor_at: '2026-10-20T12:00:00Z'})
};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview', 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://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview",
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([
'cursor_at' => '2026-10-20T12:00:00Z'
]),
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://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview"
payload := strings.NewReader("{\n \"cursor_at\": \"2026-10-20T12:00:00Z\"\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://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cursor_at\": \"2026-10-20T12:00:00Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/bloomerang/ongoing-sync/preview")
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 \"cursor_at\": \"2026-10-20T12:00:00Z\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"cursor_at": "2023-11-07T05:31:56Z",
"cursor_resources": [
"<string>"
],
"donors": {
"scanned": 2,
"with_source_id": 2,
"create_mappings": 2,
"already_mapped": 2,
"conflicts": 2,
"conflict_samples": [
{
"provider_object_id": "Example",
"reason": "Example",
"hys_object_ids": [
42
]
}
]
},
"households": {
"create_mappings": 2,
"already_mapped": 2,
"not_exact": 2,
"conflicts": 2,
"conflict_samples": [
{
"provider_object_id": "Example",
"reason": "Example",
"hys_object_ids": [
42
]
}
]
},
"side_effects": {
"donor_writes": 0,
"household_writes": 0,
"financial_writes": 0,
"payment_method_writes": 0,
"communications": 0,
"queued_sync_runs": 0
}
},
"message": "Example"
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}