Skip to main content
The Partner SaaS API lets your platform fetch surveys for each of your users, run them through qualification, and send them into a survey.

Base URL

Every request goes to your own partners host:
Replace {your-domain} with your platform’s domain. For example, if your platform runs on example.com, call https://partners.example.com/api/surveys. In these docs, “partners host” means this URL.

What you need

Integration flow

1

Get surveys for a user

Call Get surveys from your server with app, external_user_id and the user’s IP. The user is created on the first call. The response contains uh, the user hash, and a list of surveys.
2

Choose a path

Either send the user straight to the survey’s url, where qualification happens on the survey page, or run qualification inside your own UI with the steps below.
3

Start qualification

Call Start qualification with the survey hash, authenticated with Bearer {uh}.
4

Answer questions

While status is accepted, show questions.current and send the answer to Submit an answer. Use Search answers for autocomplete questions.
5

Send the user to the survey

When status is qualified, redirect the user to url. When it is disqualified, show your own “no match” screen and offer other surveys.

Response conventions

  • Responses are JSON.
  • Many business outcomes come back with HTTP 200 and are described in the body (status and message). Always check the body, not only the HTTP code.
  • See Authentication for auth, IP allowlisting, rate limits and the errors they return.