Integrations
Webhook (any platform)
Send responses from any survey tool, Zapier or Make with one URL.
Every project has a webhook URL that accepts responses from anything that can send an HTTP POST with JSON:
POST https://api.surveyguard.ca/v1/webhooks/ingest?key=<your publishable key>
Content-Type: application/json
Find the ready-made URL on the project's Integration tab.
Payload
{
"email": "respondent@example.com",
"ipAddress": "203.0.113.7",
"userAgent": "Mozilla/5.0 …",
"answers": { "How satisfied are you?": "Very", "Comments": "Great service" },
"deviceId": "optional-device-fingerprint",
"externalEventId": "your-platform-response-id"
}
| Field | Required | Notes |
|---|---|---|
email | Recommended | Drives the email checks (30% of the score) and duplicate detection |
ipAddress | Strongly recommended | The respondent's IP. SurveyGuard can't see it itself because the request comes from your survey platform. Without it, IP checks are skipped |
answers | Recommended | Question → answer. Used for answer-quality checks and shown on the respondent panel |
userAgent | Optional | The respondent's browser |
deviceId | Optional | A device fingerprint, if you collect one |
externalEventId | Recommended | Your platform's response ID. If the same ID is sent twice, the original result is returned and you aren't billed twice |
At least one of email, ipAddress, deviceId or answers must be present.
Response
{ "success": true, "data": { "responseId": "…", "trustScore": 82, "riskLevel": "LOW", "recommendation": "accept" } }
recommendation is accept, review or block.
Zapier / Make
- Trigger: your survey tool's "new response" event.
- Action: Webhooks → POST, URL = your webhook URL, payload type JSON.
- Map your fields to
email,ipAddress,answersandexternalEventId.
SurveyMonkey, Google Forms, Tally, JotForm
These platforms either send only an event reference or a format SurveyGuard doesn't read directly, so connect them through Zapier or Make as above. Platform-specific steps are shown on the Integration tab when the project's platform is set.
Errors
| Status | Meaning |
|---|---|
| 400 | The body had no usable fields or a field was the wrong type |
| 401 | Missing, invalid or revoked key |
| 402 | The account has no active subscription or trial |
| 429 | Monthly response limit reached, or too many requests per minute (see Retry-After) |
| 403 | Your plan doesn't include real-time scoring, or the request came from a domain not on the project's allow-list |