Skip to main content
POST
/
api
/
v1
/
user_feedback
User Feedback
curl --request POST \
  --url https://api.example.com/api/v1/user_feedback \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "context_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "rating": 123,
  "message": "<string>",
  "comment_tags": [
    "<string>"
  ],
  "comment": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to create a user feedback.

provider_id
string<uuid>
required
task_id
string<uuid>
required
context_id
string<uuid>
required
rating
integer
required

Rating thats either 1 or -1

message
string
required
comment_tags
string[] | null
comment
string | null

Response

Successful Response