Default
The survey's unique identifier.
The account's unique ID.
PI-1234567890The type of device that's requesting the survey/poll. Use 'desktop' if unsure.
Conditionally required. If device_type != 'native_mobile' OR 'email'. Response will be wrapped in callback code. For example, passing "console.debug" will result in "console.debug('{}')".
console.debugAlso known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
If 'true' then nothing will be recorded in the database.
trueThe number of times the user has visited the site. Used to target surveys.
The number of times the user has visited the page. Used to target surveys.
The device's unique ID.
00000000-0000-4000-f000-000000000001The URL from which the submission was made. If not provided HTTP_REFERER will be used as a fallback.
Successful response. Will return empty object if no eligible surveys are found. Otherwise the return type is based on the "device_type" parameter. (native_mobile, email, all others).
{}Successful response. Will return empty object if no eligible surveys are found. Otherwise the return type is based on the "device_type" parameter. (native_mobile, email, all others).
The name of the event identifying the survey.
/[-a-zA-Z0-9]+/The account's unique ID.
PI-1234567890The type of device that's requesting the survey/poll. Use 'desktop' if unsure.
Conditionally required. If device_type != 'native_mobile' OR 'email'. Response will be wrapped in callback code. For example, passing "console.debug" will result in "console.debug('{}')".
console.debugAlso known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
If 'true' then nothing will be recorded in the database.
trueThe number of times the user has visited the site. Used to target surveys.
The number of times the user has visited the page. Used to target surveys.
The device's unique ID.
00000000-0000-4000-f000-000000000001The URL from which the submission was made. If not provided HTTP_REFERER will be used as a fallback.
Successful response. Will return empty object if no eligible surveys are found. Otherwise the return type is based on the "device_type" parameter. (native_mobile, email, all others).
{}Error response.
The question's unique ID.
The possible answer's unique ID.
The account's unique ID.
PI-1234567890Text of survey response. Required if free text question.
A URL to redirect to after submission.
The URL from which the submission was made. If no redirect parameter is provided then this will be used as the redirect URL.
The device's unique ID.
00000000-0000-4000-f000-000000000001If 'true' then nothing will be recorded in the database.
trueSuccessful response.
Successful response. Returned if "redirect" parameter is provided.
Error response.
The question's unique ID.
The account's unique ID.
PI-1234567890Text of survey response. Required if free text question.
A URL to redirect to after submission.
The URL from which the submission was made. If no redirect parameter is provided then this will be used as the redirect URL.
The device's unique ID.
00000000-0000-4000-f000-000000000001If 'true' then nothing will be recorded in the database.
trueSuccessful response.
Successful response. Returned if "redirect" parameter is provided.
Error response.
The survey's unique ID.
The account's unique ID.
PI-1234567890Successful response. Will return empty object if no eligible surveys are found.
{}Error response.
The account's unique ID.
PI-1234567890Used to identify a user across devices and advanced survey targeting. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/client-key for more details.
The device's unique ID.
00000000-0000-4000-f000-000000000001Also known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
If 'true' then nothing will be recorded in the database.
trueSuccessful response. Will return empty object if no eligible surveys are found. Otherwise the return type is based on the "device_type" parameter. (native_mobile, email, all others).
{}Error response.
The account's unique ID.
PI-1234567890The type of device that's requesting the survey/poll. Use 'desktop' if unsure.
Conditionally required. If device_type != 'native_mobile' OR 'email'. Response will be wrapped in callback code. For example, passing "console.debug" will result in "console.debug('{}')".
console.debugThe device's unique ID.
00000000-0000-4000-f000-000000000001If 'true' then it will return surveys in DRAFT status or with frequency caps enabled. (These are not returned otherwise).
trueAlso known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
The number of times the user has visited the site. Used to target surveys.
Used to identify a user across devices and advanced survey targeting. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/client-key for more details.
The number of times the user has visited the page. Used to target surveys.
Native-Mobile only. The number of days the app has been installed for.
1Native-Mobile only. The number of times the app has been launched.
7Native-Mobile only. The view used to access the survey.
domain.comNative-Mobile only. The type of mobile device.
Successful response. Will return empty object if no eligible surveys are found. Otherwise the return type is based on the "device_type" parameter. (native_mobile, email, all others).
{}Error response.
The survey's unique ID.
The account's unique ID.
PI-1234567890Conditionally required. If device_type != 'native_mobile' OR 'email'. Response will be wrapped in callback code. For example, passing "console.debug" will result in "console.debug('{}')".
console.debugThe device's unique ID.
00000000-0000-4000-f000-000000000001The type of device that's requesting the survey/poll. Use 'desktop' if unsure.
The URL where the event occurred. Conditionally required. Required if device_type = native_mobile.
The question's unique ID.
Also known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
If 'true' then nothing will be recorded in the database.
trueThe number of times the user has visited the site. Used to target surveys.
The number of times the user has visited the page. Used to target surveys.
Successful response.
Error response.
Forbidden. Poll is not enabled for this survey.
The survey submission's unique ID.
The account's unique ID.
PI-1234567890Used to identify a user across devices and advanced survey targeting. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/client-key for more details.
Also known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
If 'true' then nothing will be recorded in the database.
trueGet the results as a PDF file.
Successful response.
{}Error response.
The survey submission's unique ID.
The account's unique ID.
PI-1234567890The question ID.
Required by single choice questions, slider questions, and NPS questions.
Required if question is a free text question.
Required if question is a custom content question.
A comma-delimited string of possible answer IDs. Used by multiple choice questions.
1,23,42If 'true' then nothing will be recorded in the database.
trueSuccessful response. If survey has only one question and "show results instead" is enabled, then returns an object of poll results. Otherwise '{}'.
Error response.
The survey submission's unique ID.
The account's unique ID.
PI-1234567890Successful response.
{}Error response.
The survey submission's unique ID.
The account's unique ID.
PI-1234567890The time the user saw the survey.
2023-05-31 11:12:07.304719 -0700Successful response.
{}Error response.
The device's unique ID.
00000000-0000-4000-f000-000000000001The account's unique ID.
PI-1234567890Successful response.
{}Error response.
The survey submission's unique ID.
The account's unique ID.
PI-1234567890If provided a value of 'application/json', response will have JSON data rather than HTML
Successful response. HTML with JS which will download and present the survey results.
Error response.
The survey submission's unique ID.
The account's unique ID.
PI-1234567890Successful response.
Error response.
A descriptive name for the event.
An object representing the properties to record.
{"test":1}The account's unique ID.
PI-1234567890The device's unique ID.
00000000-0000-4000-f000-000000000001The URL where the event occurred.
Successful response.
{}Error response.
Used to identify a user across devices and advanced survey targeting. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/client-key for more details.
Also known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
The survey submission's unique ID.
The custom content question's unique ID.
The UUID of the link that would be included in the "data-pi-link-id" attribute.
Successful response.
{}Error response.
Last updated