Available APIs
Request URL: https://user.outweisurvey.com
1. Get Answer Details by User ID
Returns the latest answer record submitted by the user for the survey.
API Endpoint
{URL}/open/api/answers/{sid}
Request method
GET
Parameter Description
uid
user id
xxx_123
timestamp
current timestamp in milliseconds
1741071430
sign
Signature
e5688d43cc733f4ac82c553f313bff97
CURL example
curl --location '{URL}/open/api/answers/67c6a30e2797730bf50d0972?uid=xxx_123×tamp=1741071430&sign=e5688d43cc733f4ac82c553f313bff97'
Response Data:
```json
{
"data": {
"abnormal_end": false,
"aid": "67c6a3b1582e38d11bd79368",
"answer_consumed": 4,
"answer_finished": true,
"channel": "-",
"effective": 0,
"ended_at": 1741071281,
"started_at": 1741071277,
"uid": "xxx_123"
}
}
```
API Response Field Descriptions
Field
Description
abnormal_end
Indicates whether the survey ended abnormally
aid
Unique ID of the answer.
answer_consumed
Time spent answering the survey (in seconds).
answer_finished
Indicates whether the questionnaire was fully completed.
channel
Distribution channel of the survey.
effective
Indicates whether the answer is valid (0 means valid, non-0 means invalid).
ended_at
Timestamp when the survey was completed.
started_at
Timestamp when the survey started.
uid
User ID of the respondent.
最后更新于
这有帮助吗?