Skip to main content
POST
/
api
/
v1
/
prompt
/
feedback
Submit Sponsored Prompt Feedback
curl --request POST \
  --url https://dev.thrads.ai/api/v1/prompt/feedback/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "sponsored_prompt_id": "<string>",
  "clicked": true,
  "number_follow_ups": 123,
  "is_sponsor_mentioned": true,
  "summary": "<string>"
}
'
{
  "apiVersion": "<string>",
  "requestId": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "docsUrl": "<string>",
  "totalTime": 123,
  "status": "success",
  "message": "<string>",
  "data": {}
}

Body

application/json

Request model for submitting feedback on sponsored chatbot prompts

sponsored_prompt_id
string
required

ID of the sponsored prompt the feedback refers to

clicked
boolean
required

Whether the user clicked the sponsored prompt link

number_follow_ups
integer
required

How many follow-up messages occurred after showing the prompt

is_sponsor_mentioned
boolean
required

Whether the sponsor was mentioned in the subsequent conversation

summary
string
required

Short summary of the user interaction or feedback context

Response

apiVersion
string
required

Version of the Thrads API being used

requestId
string
required

Unique identifier for this API request for tracking and debugging

timestamp
string<date-time>
required

ISO 8601 timestamp when the response was generated

docsUrl
string
required

URL to the API documentation for reference

totalTime
number
required

Total processing time for the request in seconds

status
enum<string>
required

Always 'success' for successful requests

Available options:
success
message
string
required

Human-readable message describing the successful response

data
Data · object
required

Response payload containing the requested data