Skip to content

Add response

Base URL

POST https://app.datashake.com/api/v2/responds/add

Request payload

username

string Website account username necessary to log in.

password

string Website account password necessary to log in.

profile_url

string Review profile URL.

review_id

string Review identification provided by the review site.

review_text

string Review text.

text

string Response text.

reviewer_name

string Reviewer's name.

callback

string An URL to receive task results - optional

external_identifier

string If you would like to identify the jobs yourself, you can use external identifier. This value will always be included in our callback payload. - optional

The value cannot exceed 255 characters.

Code example
curl POST --url https://app.datashake.com/api/v2/responds/add -H 'spiderman-token: 1234567890' --data '{ "username": "user123", "password": "MySuper*S3cur3Passw0rd", "profile_url": "https://www.yelp.com/biz/jack-in-the-box-houston-75", "review_id": "Qhjhn68b", "review_text": "I really enjoyed my meal", "text": "Thank you.", "reviewer_name":"Mary E.", "callback": "https://app.reviewcompany.com/datashake_callback", "external_identifier": "qwerty123" }'
import requests

url = "https://app.datashake.com/api/v2/responds/add"
payload = {
    "username": "user123",
    "password": "MySuper*S3cur3Passw0rd",
    "profile_url": "https://www.yelp.com/biz/jack-in-the-box-houston-75",
    "review_id": "Qhjhn68b",
    "text": "Thank you Mary!",
    "review_text": "I really enjoyed my meal.",
    "reviewer_name": "Mary E.",
    "callback": "https://app.reviewcompany.com/datashake_callback",
    "external_identifier": "qwerty123",
}
headers = {
    "spiderman-token": "1234567890"
}
response = requests.post(
    url=url,
    payload=payload,
    headers=headers
}
coming soon
coming soon
coming soon

Response

API Response example
{
    "success": true,
    "job_id": 12312313,
    "status": 200,
    "message": "Added response to the queue..."
}

Remember to store the job_id internally, you will need the value to GET the status for the local NAP audit!