Survey

Get a survey by ID

get
Paramètres de requête
idstringRequis

The UUID of the survey to retrieve

Paramètres d'en-tête
X-API-KEYstringRequis

Partner API Key

X-API-SECRETstringRequis

Partner API Secret

Réponses
chevron-right
200

The survey has been successfully retrieved.

application/json
idstringRequis

Unique identifier

createdAtstring · date-timeRequis

Creation timestamp

updatedAtstring · date-timeRequis

Last update timestamp

namestringRequis

Internal form name.

descriptionstring · nullableRequis

Internal form description.

Default: null
languageall ofRequis

Language in which the form is written. This language is used to determine the source language for machine translation.

string · enumOptionnelValeurs possibles:
enabledbooleanRequis

Determines if the form is enabled.

autoTranslatebooleanRequis

Whether to automatically translate the form.

submissionCountnumberRequis

Number of submissions recorded for this form.

publiclyAvailablebooleanRequis

Determines whether the survey can be requested publicly without specifying a tracker

solicitationThresholdnumberRequis

Determines the maximum time threshold for sending a survey. This threshold corresponds to the difference between the purchase date and the date on which it was processed for survey dispatch, in seconds. If it is exceeded, no survey will be sent.

resolicitationDelaynumberRequis

Determine the time to wait before sending a new survey to the same customer, in seconds

resolicitationModeall ofRequis

Determines the mode of resolicitation

string · enumOptionnelValeurs possibles:
preRedirectbooleanRequis

Enable/Disable redirection to external satisfaction surveys before form submission If true, preRedirectThreshold and preRedirectConfig must be set

postRedirectbooleanRequis

Enable/Disable redirection to external satisfaction surveys before after submission If true, postRedirectThreshold must be set Default false

postRedirectThresholdnumber · nullableRequis

Threshold at which to redirect the customer to the external satisfaction survey after submitting the form If 0 is set, the redirection will always be made 0 - 10

Default: null
get
/partners/survey

List surveys

post
Paramètres d'en-tête
X-API-KEYstringRequis

Partner API Key

X-API-SECRETstringRequis

Partner API Secret

Corps
limitnumber · min: 1 · max: 100Optionnel

Pagination limit

Default: 10
pagenumber · min: 1Optionnel

Page to retrieve

Default: 1
Réponses
post
/partners/survey/list

Mis à jour