Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions includes/_benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ GET https://api.surveymonkey.com/v3/benchmark_bundles
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/benchmark_bundles
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/benchmark_bundles
```

```python
Expand Down Expand Up @@ -105,7 +105,7 @@ GET https://api.surveymonkey.com/v3/benchmark_bundles/{bundle_id}
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/benchmark_bundles/test_bundle
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/benchmark_bundles/test_bundle
```

```python
Expand Down Expand Up @@ -191,7 +191,7 @@ GET https://api.surveymonkey.com/v3/benchmark_bundles/{bundle_id}/analyze
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" 'https://api.surveymonkey.com/v3/benchmark_bundles/test_bundle/analyze?question_ids=25651,25652'
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" 'https://api.surveymonkey.com/v3/benchmark_bundles/test_bundle/analyze?question_ids=25651,25652'

```

Expand Down Expand Up @@ -302,7 +302,7 @@ GET https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/question
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questions/{question_id}/benchmark
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questions/{question_id}/benchmark
```

```python
Expand Down
22 changes: 11 additions & 11 deletions includes/_collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ POST https://api.surveymonkey.com/v3/surveys/{survey_id}/collectors
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/surveys/1234/collectors -d '{"type":"weblink"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/surveys/1234/collectors -d '{"type":"weblink"}'
```

```python
Expand Down Expand Up @@ -125,7 +125,7 @@ GET https://api.surveymonkey.com/v3/collectors/{collector_id}
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/collectors/1234
```

```python
Expand Down Expand Up @@ -216,7 +216,7 @@ POST https://api.surveymonkey.com/v3/collectors/{collector_id}/messages
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages -d '{"type":"invite"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/collectors/1234/messages -d '{"type":"invite"}'
```

```python
Expand Down Expand Up @@ -301,7 +301,7 @@ GET https://api.surveymonkey.com/v3/collectors/{collector_id}/messages/{message_
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/collectors/1234/messages/1234
```

```python
Expand Down Expand Up @@ -368,7 +368,7 @@ POST https://api.surveymonkey.com/v3/collectors/{collector_id}/messages/{message
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/send -d '{"scheduled_date":"2015-10-06T12:56:55+00:00"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/send -d '{"scheduled_date":"2015-10-06T12:56:55+00:00"}'
```

```python
Expand Down Expand Up @@ -445,7 +445,7 @@ POST https://api.surveymonkey.com/v3/collectors/{collector_id}/messages/{message
>Example Request (with contact_id)

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/recipients -d '{"contact_id:"1234"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/recipients -d '{"contact_id:"1234"}'
```

```python
Expand All @@ -467,7 +467,7 @@ s.post(url, json=payload)
>Example Request (without contact_id)

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/recipients-d '{"email":"test@surveymonkey.com"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/recipients-d '{"email":"test@surveymonkey.com"}'
```

```python
Expand Down Expand Up @@ -591,7 +591,7 @@ If custom_fields are provided for any one contact, all contacts will have their
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/recipients/bulk -d '{"contact_ids":["1234", "5678"]}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/recipients/bulk -d '{"contact_ids":["1234", "5678"]}'
```

```python
Expand Down Expand Up @@ -686,7 +686,7 @@ GET https://api.surveymonkey.com/v3/collectors/{collector_id}/recipients
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/recipients
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/collectors/1234/recipients
```

```python
Expand Down Expand Up @@ -759,7 +759,7 @@ GET https://api.surveymonkey.com/v3/collectors/{collector_id}/recipients/{recipi
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/recipients/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/collectors/1234/recipients/1234
```

```python
Expand Down Expand Up @@ -836,7 +836,7 @@ GET https://api.surveymonkey.com/v3/collectors/{id}/messages/{id}/stats
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/stats
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/collectors/1234/messages/1234/stats
```

```python
Expand Down
22 changes: 11 additions & 11 deletions includes/_contacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ POST https://api.surveymonkey.com/v3/contact_lists
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_lists -d '{"name": "My Contact List"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contact_lists -d '{"name": "My Contact List"}'
```

```python
Expand Down Expand Up @@ -82,7 +82,7 @@ GET https://api.surveymonkey.com/v3/contact_lists/{contact_list_id}
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_lists/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/contact_lists/1234
```

```python
Expand Down Expand Up @@ -134,7 +134,7 @@ POST https://api.surveymonkey.com/v3/contact_lists/{contact_list_id}/copy
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_lists/1234/copy
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contact_lists/1234/copy
```

```python
Expand Down Expand Up @@ -182,7 +182,7 @@ POST https://api.surveymonkey.com/v3/contact_lists/{contact_list_id}/merge
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_lists/1234/merge -d '{ "list_id": "4321" }'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contact_lists/1234/merge -d '{ "list_id": "4321" }'
```

```python
Expand Down Expand Up @@ -240,7 +240,7 @@ POST https://api.surveymonkey.com/v3/contact_lists/{contact_list_id}/contacts
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_lists/1234/contacts -d '{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com"}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contact_lists/1234/contacts -d '{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com"}'
```

```python
Expand Down Expand Up @@ -337,7 +337,7 @@ POST https://api.surveymonkey.com/v3/contact_lists/{contact_list_id}/contacts/bu
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_lists/1234/contacts/bulk -d '{ "contacts": [{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com"}] }'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contact_lists/1234/contacts/bulk -d '{ "contacts": [{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com"}] }'
```

```python
Expand Down Expand Up @@ -431,7 +431,7 @@ POST https://api.surveymonkey.com/v3/contacts
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contacts -d '{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com" }'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contacts -d '{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com" }'
```

```python
Expand Down Expand Up @@ -529,7 +529,7 @@ POST https://api.surveymonkey.com/v3/contacts/bulk
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contacts -d '{ "contacts": [{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com" }'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contacts -d '{ "contacts": [{ "first_name": "John", "last_name": "Doe", "email": "test@surveymonkey.com" }'
```

```python
Expand Down Expand Up @@ -623,7 +623,7 @@ GET https://api.surveymonkey.com/v3/contacts/{contact_id}
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contacts/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/contacts/1234
```

```python
Expand Down Expand Up @@ -688,7 +688,7 @@ GET https://api.surveymonkey.com/v3/contact_fields
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_fields
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/contact_fields
```

```python
Expand Down Expand Up @@ -756,7 +756,7 @@ PATCH https://api.surveymonkey.com/v3/contact_fields/{contact_field_id}
>Example Request

```shell
curl -i -X PATCH -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/contact_fields/1 -d '{"label: "5"}'
curl -i -X PATCH -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/contact_fields/1 -d '{"label: "5"}'
```

```python
Expand Down
4 changes: 2 additions & 2 deletions includes/_errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GET https://api.surveymonkey.com/v3/errors
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/errors
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/errors
```

```python
Expand Down Expand Up @@ -79,7 +79,7 @@ GET https://api.surveymonkey.com/v3/errors/{error_id}
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/errors/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/errors/1234
```

```python
Expand Down
4 changes: 2 additions & 2 deletions includes/_folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ POST https://api.surveymonkey.com/v3/survey_folders

```shell

curl -i -X POST -H "Authorization: bearer YOUR_ACCESS_TOKEN" -H "content-Type":"application/json" https://api.surveymonkey.com/v3/survey_folders -d "{"title":"My Team Folder"}"
curl -i -X POST -H "Authorization: bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/survey_folders -d "{"title":"My Team Folder"}"

```

Expand Down Expand Up @@ -82,4 +82,4 @@ links[\_].self||String

Name | Required |Description | Data Type
----- | ------ |------ | -----
Title | No | Title for the folder | String
Title | No | Title for the folder | String
4 changes: 2 additions & 2 deletions includes/_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ GET https://api.surveymonkey.com/v3/groups/{group_id}/members
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/groups/1234/members
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/groups/1234/members
```

```python
Expand Down Expand Up @@ -205,7 +205,7 @@ GET https://api.surveymonkey.com/v3/groups/{group_id}/members/{member_id}
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/groups/1234/members/1234
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/groups/1234/members/1234
```

```python
Expand Down
14 changes: 7 additions & 7 deletions includes/_organizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GET https://api.surveymonkey.com/v3/workgroups
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/workgroups
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/workgroups
```

```python
Expand Down Expand Up @@ -119,7 +119,7 @@ GET https://api.surveymonkey.com/v3/workgroups/{workgroup_id}
>Example Request

```shell
curl -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/workgroups/1234
curl -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/workgroups/1234
```

```python
Expand Down Expand Up @@ -202,7 +202,7 @@ GET https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/members
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/members
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/members
```

```python
Expand Down Expand Up @@ -299,7 +299,7 @@ GET https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/members/{member_id
>Example Request

```shell
curl -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/workgroups/1234/members/1234
curl -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/workgroups/1234/members/1234
```

```python
Expand Down Expand Up @@ -360,7 +360,7 @@ GET https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/shares
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/shares
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/shares
```

```python
Expand Down Expand Up @@ -458,7 +458,7 @@ GET https://api.surveymonkey.com/v3/workgroups/{workgroup_id}/shares/{share_id}
>Example Request

```shell
curl -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/workgroups/1234/shares/1234
curl -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/workgroups/1234/shares/1234
```

```python
Expand Down Expand Up @@ -518,7 +518,7 @@ GET https://api.surveymonkey.com/v3/roles
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/roles
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/roles
```

```python
Expand Down
2 changes: 1 addition & 1 deletion includes/_question_bank.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ GET https://api.surveymonkey.com/v3/question_bank/questions
>Example Request

```shell
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/question_bank/questions
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" https://api.surveymonkey.com/v3/question_bank/questions
```

```python
Expand Down
4 changes: 2 additions & 2 deletions includes/_questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ POST https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questio
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questions -d '{"headings": [{"heading": "A question about primates.", "random_assignment": {"percent": 50, "position": 1}},{"heading": "A question about primates phrased slightly differently.", "random_assignment": {"percent": 50, "position": 2},}], "family": "open_ended", "subtype": "single", "position": 1, "sorting": {"type": "textasc","ignore_last": True}, "required": {"text": "This question is required!", "type": "at_least", "amount": "1"},"validation": {"type": "integer","text": "Validation has failed!","min": 20,"max": 30}, "forced_ranking": True, "answers": { #SEE ANSWERS SECTION }}'
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questions -d '{"headings": [{"heading": "A question about primates.", "random_assignment": {"percent": 50, "position": 1}},{"heading": "A question about primates phrased slightly differently.", "random_assignment": {"percent": 50, "position": 2},}], "family": "open_ended", "subtype": "single", "position": 1, "sorting": {"type": "textasc","ignore_last": True}, "required": {"text": "This question is required!", "type": "at_least", "amount": "1"},"validation": {"type": "integer","text": "Validation has failed!","min": 20,"max": 30}, "forced_ranking": True, "answers": { #SEE ANSWERS SECTION }}'

```

Expand Down Expand Up @@ -181,7 +181,7 @@ GET https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/question
>Example Request

```shell
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questions/{question_id}
curl -i -X POST -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" https://api.surveymonkey.com/v3/surveys/{survey_id}/pages/{page_id}/questions/{question_id}

```

Expand Down
Loading