Thanks to visit codestin.com
Credit goes to developer.reviewpush.com

Add to Automated Feedback List Endpoint

POST https://dashboard.reviewpush.com/api/company/request/list/feedback

Parameters

POST Param Description
location_id ReviewPush Location Id (location_id or unique_identifier required)
unique_identifier Location's Unique Identifier (location_id or unique_identifier required)
email Email to send request (email or phone required, can include both)
phone Phone number to send SMS request (email or phone required, can include both)
name Name to include in template (optional)
metadata An array to include in the review metadata, i.e. metadata[ticket]=12345 (optional)

If the location does not have a contact list named Automated Feedback, one will be created and this entry will be added.

If the location does not have a campaign named Automated Feedback, one will be created, attached to the contact list, and configured as a trigger to send emails using the default template five minutes after entries are added.

Returns

Status 200 {"status":"success"}

Status 400 {"error":"location_not_found"}

Status 400 {"error":"email_required"}

Notes

The campaign will always use the default template of the location or company (location overrides company)

Metadata may include as many key/value pairs as needed. All data will be included in the metadata of the feedback submitted by the email recipient.

Quick Send Endpoint

POST https://dashboard.reviewpush.com/api/company/request/quick/send

Parameters

POST Param Description
email Email to send request (email or phone required, can include both)
phone Phone number to send SMS request (email or phone required, can include both)
name Name to include in template (optional)

An email will be sent to the address using the default template of the company/brand/location to which the user has access.

Returns

Status 200 {"status":"success"}

Status 500 {"error":"not_sent"}

Status 400 {"error":"email_required"}