Data Partner API
  1. Getting Started
Data Partner API
  • Data Partner API
    • Getting Started
      • Introduction to API
      • Become a Supplier
      • Authentication
      • Urls
    • API Reference
      • Account
        • Get Supplier Details
        • Update redirect urls
        • Update S2S redirect urls
      • Surveys
        • Get Surveys
        • Get Survey Qualifications
        • Get Survey Quotas
        • Get Survey Stats
        • Get Survey Groups
      • Collections
        • Languages
        • Industries
        • StudyTypes
        • SurveyStatuses
        • QualificationCategories
        • QualificationCategoryTypes
        • QualificationTypes
        • Qualifications
        • QualificationDetailById
    • Schemas
      • Survey
      • SupplierAccountResponse
      • SupplierSurveyResponse
      • Qualification
      • SurveyQualificationResponse
      • QuotaCondition
      • SurveyQuotaResponse
      • Quotas
      • SurveyStat
      • SurveyStatsResponse
      • SurveyGroup
      • SurveyGroupsResponse
  1. Getting Started

Urls

Survey Entry Url#


Our Survey entry url provides various capability for our suppliers to pass different type of information along with respondent. The survey entry url will be provided for each survey in Surveys api call.

Survey entry url parameters#

example survey entry link
https://rf-sandbox.voqall.com/l?vq_sid=&vq_vid=&vq_token=TXN123456&vq_uid=USER789&email_hash=abc123
Survey entry url parameters :
Param NameRequiredDescription
vq_sidYesUnique survey id, this is auto filled in entry link
vq_vidYesSupplier id,this is auto filled in entry link
vq_tokenYesUnique transaction/respondent token generated per session by supplier
vq_uidYesRespondent unique User ID on your supplier's system

Addtional parameters#

We support accepting addtional parameters which will help us to give you better survey inventory.

Email Hash#

Suppliers may optionally ( recommended to be eligible for more surveys) pass respondent hashed email in survey entry url.
Email Hash Generation
var email_hash = SHA256(lower(respondent_email))

var urlWithEmailHash= https://rf-sandbox.voqall.com/l?...&email_hash={hashed_email_value}
Do not pass raw email address in the query string parameters

Demographics#

You may optionally pass demographic information in the redirect URL to enable auto-punching. This will allow us to improve respondent experience. We will not re-ask the questions which we have already recieved in entry url.
Supported Auto-Punch Parameters
age
gender (answer ID/code)
zip
**Q**{StandardQualID}=answerId1,answerId2
Example query params
... &age=32&gender=2&zip=90210&Q20=1,3

Redirect/Postback Urls#

Redirect TypeRequiredDescription
CompleteYesPostback url to be used when respondent has completed the survey
TerminateYesPostback url to be used when respondent is not qualified
OverquotaYesPostback url to be used when the requierd quota is met
Security TerminateYesPostback url if the respondent fails security checks
Postback url encryption
Browser Redirects Only
To secure your postback redirect urls,we will provide encryption key. Suppliers can choose to pick from SHA1 or SHA256 ( recommended ) encryption algorithms.
The encrypted url hash value will be appened in the postback url as below
Url encryption example
var exampleRedirectUrl= "https://supplier-redirect-url.com/complete?token=token123&status=1"

var hashValue= = SHA256(exampleRedirectUrl)

var finalRediectUrl = "https://example.com?transactionId=121212&status=complete&hash=hashValue"

Server to Server (S2S) Redirect Urls#

We support S2S rediects for enhanced security and avoid tempering with urls
Redirect TypeRequiredDescription
CompleteYesPostback url to be used when respondent has completed the survey
TerminateYesPostback url to be used when respondent is not qualified
OverquotaYesPostback url to be used when the requierd quota is met
Security TerminateYesPostback url if the respondent fails security checks
Suppliers can update their redirects via redirect-urls endpoint
Previous
Authentication
Next
Account
Built with