Webhook #1:
Name: Quiz Response Webhook
Description: This webhook sends quiz response data to the expert’s webhook URL (the URL is part of the Expert’s account and configured by a CredSpark Admin - email [email protected] for this). The webhook data sent includes the user’s basic information (name, email, UUID, IP address), the basic info about the assessment (id, slug, title, type), followed by the score and the answers selected for each question.
Example webhook payload:
{
"response":{
"id":68888,
"firstName":null,
"lastName":null,
"email":null,
"uuid":null,
"ipAddress":"108.5.123.60",
"assessment":{
"id":410,
"slug":"b2b-media-find-your-quiz-roi",
"title":"B2B Media: Find Your Quiz ROI",
"type":"outcome"
},
"score":null,
"percentage":0.0,
"outcome":{
"shortName":"Lead Generator",
"name":"Lead Generator",
"definition":"A significant and/or growing part of your revenue mix comes from generating leads for your sponsors/partners. You may or may not charge on a cost-per-lead basis, but your clients definitely expect you to bring them qualified marketing leads to help grow their businesses.",
"image":"https://credspark-staging.s3.amazonaws.com/uploads/outcome/image/6/ROIv2.png",
"suggestions":"Use quizzes as a way *both* to generate *and* to qualify leads. Pick a topic highly relevant to your vertical(s); use an expert (in-house or a partner) to generate the quiz questions. Be sure to ask both scored questions (with right/wrong answers) and also some unscored questions. The former will get the audience engaged and 'bought in', and the latter will help qualify the leads at a granular level. Finally, use a customized registration form at the end of the quiz to capture contact information.\r\n\r\nCredSpark has helped many clients achieve terrific business success using quizzes. [Contact us](https://www.credspark.com/pages/contact_form) to learn more about how CredSpark can help you."
},
"completedAt":"2016-09-19T14:53:14Z",
"totalQuestionsAnswered":9,
"questionResponses":[
{
"question":{
"id":1873,
"questionText":"Right after someone takes a quiz on your site, the **SECOND BEST** thing that person could do would be to _______________ .",
"type":"body",
"answers":[
"Share the quiz with their colleagues",
"Read the answer explanations, and click through to your related content",
"Register for an event (conference, webinar, etc.)",
"Become a qualified lead for one of your sponsors",
"Receive a personalized recommendation from you based upon their answers",
"Provide you with some information about themselves"
]
},
"answerSelected":"Read the answer explanations, and click through to your related content",
"freeText":null,
"correct":false
},
{
"question":{
"id":1872,
"questionText":"Right after someone takes a quiz on your site, the **BEST** thing that person could do would be to _______________ .",
"type":"body",
"answers":[
"Share the quiz with their colleagues",
"Read the answer explanations, and click through to your related content",
"Register for an event (conference, webinar, etc.)",
"Become a qualified lead for one of your sponsors",
"Receive a personalized recommendation from you based upon their answers",
"Provide you with some information about themselves"
]
},
"answerSelected":"Become a qualified lead for one of your sponsors",
"freeText":null,
"correct":false
},
{
"question":{
"id":1871,
"questionText":"How critical to your business is the improvement in your website metrics?",
"type":"body",
"answers":[
"Extremely important",
"Somewhat important",
"Not very important"
]
},
"answerSelected":"Somewhat important",
"freeText":null,
"correct":false
},
{
"question":{
"id":1870,
"questionText":"When it comes to getting deeper data on your existing audience members, you ________________ .",
"type":"body",
"answers":[
"Are investing in ways to obtain deeper data on your audience",
"Are not investing in deeper data on your audience"
]
},
"answerSelected":"Are not investing in deeper data on your audience",
"freeText":null,
"correct":false
},
{
"question":{
"id":1869,
"questionText":"When it comes to Lead Generation, your firm could best be described as:",
"type":"body",
"answers":[
"Actively developing lead gen programs for your clients",
"Trying to generate leads for subscriptions to your titles",
"Trying to generate leads for your own events and/or paid content",
"Trying to figure out your lead gen strategy",
"Not focused on generating leads"
]
},
"answerSelected":"Trying to figure out your lead gen strategy",
"freeText":null,
"correct":false
},
{
"question":{
"id":1868,
"questionText":"How strongly do you agree with the following: \"I believe our audience depends upon us to help them make decisions on the job.\"",
"type":"body",
"answers":[
"Very strongly agree",
"Strongly agree",
"Somewhat agree",
"Do not agree"
]
},
"answerSelected":"Strongly agree",
"freeText":null,
"correct":false
},
{
"question":{
"id":1867,
"questionText":"When it comes to Native/Sponsored Content, your firm ______________ .",
"type":"body",
"answers":[
"Currently sells Native/Sponsored Content",
"Is thinking about developing a Native/Sponsored program",
"Is not considering Native/Sponsored Content"
]
},
"answerSelected":"Is thinking about developing a Native/Sponsored program",
"freeText":null,
"correct":false
},
{
"question":{
"id":1866,
"questionText":"When it comes to events, your firm ________________ .",
"type":"body",
"answers":[
"Actively looks to grow revenue from events \u0026 conferences",
"Runs a decent events business, but isn't investing more in events",
"Doesn't do events"
]
},
"answerSelected":"Doesn't do events",
"freeText":null,
"correct":false
},
{
"question":{
"id":1865,
"questionText":"Display advertising, sold on a CPM basis, is _________________ .",
"type":"body",
"answers":[
"A crucial component of your firm's revenue",
"A nice-to-have, yet not a primary focus",
"Not part of your revenue mix"
]
},
"answerSelected":"A crucial component of your firm's revenue",
"freeText":null,
"correct":false
}
]
}
}
Webhook #2:
Name: User Registration Webhook
Description: This webhook sends user data to the expert’s webhook URL when a user registers after completing an embedded quiz. The webhook data sent includes the user’s basic information (name, email, IP address), as well as the basic info about the assessment (id, slug, title)
Example webhook payload:
{
"responseID": 68888,
"assessment": {
"id":410,
"slug":"b2b-media-find-your-quiz-roi",
"title":"B2B Media: Find Your Quiz ROI",
},
"user": {
"id": 15556,
"firstName": "Tester",
"lastName": "Tester",
"email": "[email protected]",
"registrationResponses": [
{
"question": {
"id": 2376,
"questionText": "Job Title",
"type": "short_answer",
"answers": []
},
"answersSelected": [],
"freeTextResponse": "Tester"
},
{
"question": {
"id": 2377,
"questionText": "Major",
"type": "short_answer",
"answers": []
},
"answersSelected": [],
"freeTextResponse": "Testing"
}
]
}
}