Hanzo
OpenapiDestination

Sends ONE synthetic pageview through the connected destination end to end and…

Sends ONE synthetic pageview through the connected destination end to end and reports what the platform said.

POST /v1/destination/{platform}/test

Addresshttps://api.hanzo.ai/v1/destination/{platform}/test
MethodPOST
Operationpost_destination_by_platform_test
AuthAuthorization: Bearer $HANZO_API_KEY

Sends ONE synthetic pageview through the connected destination end to end and reports what the platform said. A send the platform refuses is reported as data — {"ok": false, "error": …} at 200 — so the console shows the platform's own words rather than an error about Hanzo. It requires org admin.

Request

1 field.

FieldInTypeRequiredDescription
platformpathstringyesPlatform is the destination to act on, from the path: ga4 | meta | tiktok | linkedin | x | reddit | insights | analytics.

Response

StatusBodyMeaning
200destinationTestok

200 body — 4 fields.

FieldInTypeAlwaysDescription
errorbodystringError is the platform's rejection, present only on a failed send.
messagebodystringMessage is the platform's own note about the send, present only on success.
okbodybooleanOK is true when the platform accepted the synthetic event.
sentbodyintegerSent is how many events the platform accepted, present only on success.

Failure carries the platform error shape — see Errors.

Examples

hanzo destinations test <platform>

Destination API · All Hanzo APIs · Interactive reference

How is this guide?

On this page