curl --request GET \
--url https://api.questra.ai/surveys/{survey_id_or_slug}/pages \
--header 'Authorization: Bearer <token>' \
--header 'X-Org-Id: <x-org-id>'[
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"survey_id": "<string>",
"name": "<string>",
"locked": false,
"order": 1,
"blocks": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"page_id": "<string>",
"order": 1,
"config": {
"content": "<string>",
"type": "<string>",
"showIf": "<string>",
"attentionRequired": {
"reason": "<string>",
"dismissed": false
},
"content_type": "markdown"
}
}
],
"navigation_rules": [
{
"id": "<string>",
"source_page_id": "<string>",
"target_page_id": "<string>",
"order": 1,
"condition": "<string>",
"attention_required": {
"reason": "<string>",
"dismissed": false
}
}
],
"assign_response_status": "<string>",
"programming_started_at": "2023-11-07T05:31:56Z",
"programming_completed_at": "2023-11-07T05:31:56Z",
"attention_required": {
"reason": "<string>",
"dismissed": false
}
}
]curl --request GET \
--url https://api.questra.ai/surveys/{survey_id_or_slug}/pages \
--header 'Authorization: Bearer <token>' \
--header 'X-Org-Id: <x-org-id>'[
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"survey_id": "<string>",
"name": "<string>",
"locked": false,
"order": 1,
"blocks": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"page_id": "<string>",
"order": 1,
"config": {
"content": "<string>",
"type": "<string>",
"showIf": "<string>",
"attentionRequired": {
"reason": "<string>",
"dismissed": false
},
"content_type": "markdown"
}
}
],
"navigation_rules": [
{
"id": "<string>",
"source_page_id": "<string>",
"target_page_id": "<string>",
"order": 1,
"condition": "<string>",
"attention_required": {
"reason": "<string>",
"dismissed": false
}
}
],
"assign_response_status": "<string>",
"programming_started_at": "2023-11-07T05:31:56Z",
"programming_completed_at": "2023-11-07T05:31:56Z",
"attention_required": {
"reason": "<string>",
"dismissed": false
}
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique ID or slug for the survey to add the new page to
A word or phrase that must exist inside the page name
Unique ID of the page
Date and time the page was created
Date and time the page was last edited
Unique ID of the survey this page is a part of
Unique name of the page within the survey
If true, the survey has been locked by an AI process to complete changes
Order in which the page will appear in a list view of the pages. This has no bearing on survey navigation.
x >= 0A list of blocks on the page
Show child attributes
A list of navigation rules in which this page is the source
Show child attributes
Status to assign to the response upon arrival at this page
"complete"
"disqualified"
Date and time an AI begain programming this survey from a questionnaire file
Date and time an AI finished programming this survey from a questionnaire file
Present when the AI flagged this page as needing human review before export
Show child attributes