younifyd
Menu

Create Answer For Question

Create an answer to a question

POST/questions/{question_id}/answers

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Create Answer For Question action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{createAnswerForQuestion.response.data}}.

Request

Path parameters

question_idstringrequired

Retrieve this parameter from [Retrieve All Questions](ref:retrieve-all-questions)

Request body

Enter the body as JSON in the step's Body field.

utokenstringrequired

Your Yotpo account access token. See [Yotpo Authentication](https://apidocs.yotpo.com/reference#yotpo-authentication) to learn how to generate your utoken.

answerobjectrequired

The contents of your answer to a question

contentstringrequired

The content of the answer

publicboolean

Choose whether the answer will be show on-site or only send an email to the customer. Public answer=true. Private answer=false

json
{
  "utoken": "string",
  "answer": {
    "content": "string",
    "public": false
  }
}

Response

Returns 200 with a any. Read it in later steps with {{createAnswerForQuestion.response.data.<field>}}.

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.