Skip to main content
POST
/
conversations
/
{id}
/
invite-rating
Generate a message containing an invite link for the user to leave a rating.
curl --request POST \
  --url https://1-some-client.some-server.healvi-chat/third-party/v1/conversations/{id}/invite-rating \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "text": "<string>",
    "link": "<string>",
    "rating": {
      "id": 123,
      "code": "<string>",
      "stars": 123,
      "comment": "<string>",
      "created_at": "2023-01-01T12:00:00Z",
      "updated_at": "2023-01-01T12:00:00Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Response

200 - application/json

Success

data
object