/customer/feedback/send
Send customer feedback request. Request method depends on customer preferences
Parameters
Name |
Type |
Required |
Example |
Description |
clientId |
string(40) |
yes |
04f78...9f9f3 |
Client id is a unique user identifier provided by GatherUp. |
customerId |
integer |
yes |
1 |
Customer id. |
ratingRevision |
integer |
no |
1 |
1 will send rating revision instead of new feedback request. 0 will create new feedback request. Default value is 1. |
checkThreshold |
integer |
no |
1 |
1 will check if threshold is reached If yes then it throws error. Default value is 0. |
jobId |
string |
no |
ABC-123 |
Sets JobID for repeat feedback request. Replaces existing JobID if rating revision. |
hash |
string(64) |
yes |
bd13a40...303f3c5 |
Hash is a digital request signature. Learn how to generate hash here. |
Request
POST https://app.gatherup.com/api/customer/feedback/send
[Content-Type: application/json]
{
"clientId": "04f78076fbfc66940169d2199af7c6698019f9f3",
"customerId": "1",
"hash": "67fbca027648a3caf08e47ca685d772aa2d92fb526b8b6e91d74286301c99988",
}
Response
{
"errorCode": 0,
"errorMessage": "Success"
}
Errors
errorCode |
errorMessage |
-1 |
Unknown error |
1 |
Invalid hash sign |
2 |
Invalid clientId |
3 |
Server error - please contact support |
11 |
Unable to send feedback request to this customer |
12 |
Daily email limit exceeded |
54 |
Message not sent - SMS limit exceeded |
55 |
Customer has Invalid phone number! |
56 |
Unable to send sms. |
57 |
Customer has unsubscribed from your SMS messages |