younifyd
Menu

Get A Users Profile Data

Retrieve a User’s Profile Data

GET/users/{user_id}

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Get A Users Profile Data action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{getAUsersProfileData.response.data}}.

Request

Path parameters

user_idstringrequired

The `user_id` generated by the POST /users call.

Response

Returns 200 with an object. Read it in later steps with {{getAUsersProfileData.response.data.<field>}}.

responseobject
userobject6 fields
json
{
  "response": {
    "user": {
      "id": 11,
      "slug": "jtalabot",
      "score": 0,
      "display_name": "john talabot",
      "bio": null,
      "social_image": "https://ddcfq0gxiontw.cloudfront.net/images/anonymous_user.png"
    }
  }
}

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