Survey Response Submitted

Payload

The payload of this webhook request is an object.
dataobjectOptional
event_timestampintegerOptional

The date the event was created. Measured in seconds since the Unix epoch.

event_typestringOptional

The event type.

uidstringOptional

The prefixed event ID, unique to each webhook event.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "data": {
3 "answers": [
4 {
5 "answer": "French toast",
6 "created": 1234567890,
7 "id": 316,
8 "question_data": {
9 "answer": "French toast",
10 "prompt": "Favorite breakfast carbohydrate",
11 "type": "free_form"
12 },
13 "updated": 1234567890
14 }
15 ],
16 "created": 1234567890,
17 "id": "00000000-0000-0000-0000-000000000000",
18 "survey_id": "00000000-0000-0000-0000-000000000000",
19 "subscription": {
20 "created": 1122334455,
21 "email": "[email protected]",
22 "id": "sub_00000000-0000-0000-0000-000000000000",
23 "referral_code": "ABC123",
24 "referring_site": "https://www.blog.com",
25 "status": "active",
26 "subscription_tier": "free",
27 "subscription_premium_tier_names": [
28 "Premium",
29 "Pro"
30 ],
31 "stripe_customer_id": "cus_1234567890",
32 "utm_campaign": "Q1 Campaign",
33 "utm_channel": "website",
34 "utm_medium": "organic",
35 "utm_source": "Twitter"
36 },
37 "updated": 1234567890
38 },
39 "event_timestamp": 1234567890,
40 "event_type": "survey.response_submitted",
41 "uid": "evt_00000000-0000-0000-0000-000000000000"
42}
Built with