post https://api.zenloop.com/v1/response//website_embed/
This endpoint is used for creating a new answer for Website Embed Survey
{
"response": "Great product with awesome quality and quick delivery.",
"identity": "123",
"identity_type": "custom",
"first_name": "Maxine",
"last_name": "Jacobs"
}
Response attributes
Attribute | Type | Description |
---|---|---|
answer | object | Answer information data. |
answer.id | string | Answer identifier. |
answer.score_type | string | Score type for the answer. |
answer.score | number | Actual score for the answer. |
answer.sentiment | number | Overall sentiment of the answer. |
answer.sentiment_per_label_name | object | Sentiment of the specific label. |
answer.name | string | Name of survey recipient who submitted the answer. |
answer.recipient_id | string | ID of a recipient who submitted the answer. |
answer.property_ids | array | Array of property identifiers for the answer. |
answer.labels | array | List of labels for the answer. |
answer.labels_with_keywords | object | Label names with keywords. |
answer.inserted_at | date | Date when an answer has been submitted. |
answer.email | string | Email of survey recipient who submitted the answer. Deprecated |
answer.identity | string | Identity of survey recipient who submitted the answer. |
answer.identity_type | string | Identity type of survey recipient who submitted the answer. One of: email , custom |
answer.comment | string | Answer comment of survey recipient who submitted the answer. |
answer.translated_comment | string | Translated comment. |
answer.additional_questions | object | Additional answers - questions with answers. |
answer.survey | object | Survey information |
answer.survey.additional_questions | object | Additional questions - for newly created answer. |