List questions
This endpoint returns the questions submited by compliance team in paginated format.
Examples
list-questions.py
import requests
response = requests.get(
"https://proxy.webshare.io/api/v2/verification/question/",
headers={"Authorization": "Token APIKEY"}
)
response.json()
The commands above return JSON structured like this (If the question doesn't have an answer yet the answer field will come as null):
response.json
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1,
"question": "The question",
"created_at": "2022-06-14T11:58:10.246406-07:00",
"updated_at": "2022-06-14T11:58:10.246406-07:00",
"answer": {
"id": 1,
"answer": "The answer submitted by the user",
"created_at": "2022-06-14T11:58:10.246406-07:00",
"updated_at": "2022-06-14T11:58:10.246406-07:00",
}
},
...
]
}