Download OpenAPI specification:Download
string Email to filter by | |
offset | integer <int32> Start offset for query |
includeAll | boolean Include also contacts marked as deleted. |
[- {
- "id": "Ujdno_k8k",
- "name": "Frank Mushroom",
- "firstname": "Frank",
- "lastname": "Mushroom",
- "eid": "Thow9nJ23",
- "phone": "+358100100",
- "company": "Company Inc",
- "created_at": "2021-09-29T14:14:46.651Z",
- "updated_at": "2021-09-29T14:14:46.651Z",
- "last_action": "2021-09-29T14:14:46.762Z",
- "deleted_at": null,
- "status": "active",
- "type": "customer",
- "nps_status": "promoter",
- "original_nps_status": "passive",
- "recommend_status": "recommend",
- "nps_change": "up"
}
]
Contact data
email required | string |
name | string |
eid | string |
phone | string |
company | string |
type | string Enum: "customer" "employee" |
addToList | Array of strings |
{- "email": "string",
- "name": "string",
- "eid": "string",
- "phone": "string",
- "company": "string",
- "type": "customer",
- "addToList": [
- "string"
]
}
{- "contact": {
- "id": "85jtL8fjw",
- "created_at": "2021-09-29T14:14:46.651Z",
- "updated_at": "2021-09-29T14:14:46.651Z",
- "status": "active",
- "type": "customer",
- "name": "Frank Mushroom",
- "phone": "+358100100",
- "eid": "jJkirjK9",
- "company": "Company Inc"
}, - "action": "IMPORT_CREATE",
- "listsUpdated": 1
}
string |
{- "email": "string"
}
{- "contact": {
- "id": "qaPTkgycqd",
- "created_at": "2021-09-30T09:19:28.385Z",
- "updated_at": "2021-09-30T09:19:28.385Z",
- "deleted_at": "2021-10-11T10:35:01.567Z",
- "last_action": "2021-09-30T09:19:34.691Z",
- "status": "active",
- "type": "customer",
- "name": "Sarah Oak",
- "lastname": "Oak",
- "firstname": "Sarah"
}
}
[- {
- "id": "W0yDxNPeK",
- "type": "employee",
- "count": 5,
- "name": "Customer list",
- "source": "list",
- "created_at": "2021-09-29T14:13:53.784Z",
- "updated_at": "2021-09-29T14:13:53.784Z",
- "deleted_at": null
}
]
type | string Enum: "customer" "employee" Survey type to filter by |
offset | integer <int32> Start offset for query |
[- {
- "id": "5iEwG88ib",
- "type": "customer",
- "count": 2,
- "name": "NPS survey",
- "created_at": "2021-09-29T14:06:13.963Z",
- "updated_at": "2021-09-29T14:06:13.963Z",
- "deleted_at": null
}, - {
- "id": "c8U5ckfks",
- "type": "customer",
- "count": 15,
- "name": "Video review",
- "created_at": "2021-03-23T13:01:10.903Z",
- "updated_at": "2021-03-23T13:01:10.903Z",
- "deleted_at": null
}
]
surveyId required | string String ID of the survey to get |
{- "id": "TN6I4tvo_",
- "name": "NPS survey",
- "organization_id": "testorg",
- "type": "customer",
- "status": "open",
- "fields": [
- {
- "name": "nps",
- "type": "nps",
- "label": "How likely are you to recommend our\n product to a friend or colleague?"
}, - {
- "name": "feedback",
- "type": "comment",
- "label": "What is the primary reason for your score?"
}, - {
- "name": "comment",
- "type": "comment",
- "label": "Can we publish your feedback on our website and social media?",
- "description": "You can edit your public comment here."
}, - {
- "name": "noPublicConsent",
- "type": "checkbox",
- "label": "I don't want to publish my feedback"
}, - {
- "name": "comment_video",
- "type": "video"
}, - {
- "name": "noVideoRecord",
- "type": "checkbox",
- "label": "I don’t want to record a video comment"
}
]
}
offset | integer <int32> Start offset for query |
[- {
- "id": "Krxo5Mgn9",
- "name": "Popup widget",
- "active": true,
- "template_type": "popup"
}, - {
- "id": "7nmdQtD8R",
- "name": "Inpage Chatbot",
- "active": false,
- "template_type": "inpage"
}
]
offset | integer <int32> Start offset for query |
[- {
- "id": "experiment-1",
- "name": "Which one is better",
- "variants": [
- {
- "id": "7nmdQtD8R",
- "name": "Popup Notification"
}, - {
- "id": "ALF8_O09Ma",
- "name": "Inpage Chatbot"
}
]
}
]
idOrSlug required | string The ID as returned by the review connection list operation or user-specified name (slug) |
{- "id": "12345",
- "slug": "my-hotel-1",
- "title": "My title for my hotel",
- "source": "googlemaps",
- "lang": "en",
- "targetId": "hotel-0001",
}
idOrSlug required | string The ID as returned by the review connection list operation or user-specified name (slug) |
slug | string or null User-specified name for the connection (unique), or null to unset |
title | string or null User-specified title for the connection (unique), or null to unset |
{- "slug": "my-hotel",
- "title": "My hotel in Helsinki"
}
slug | string Optional user-specified name for the review connection |
title | string Optional title for the review connection |
targetUrl | string The URL for the review service page. Connection parameters will be automatically parsed. |
{- "slug": "my-hotel",
}
{- "id": "string"
}
{- "reviewConnections": [
- {
- "id": "12345",
- "slug": "my-hotel-1",
- "title": "My title for my hotel",
- "source": "googlemaps",
- "lang": "en",
- "targetId": "hotel-0001",
}
]
}