Skip to Content
iAdvizeDocs

Send feedback to iAdvize

Sends product feedback to the iAdvize team, the same way the dashboard's Send feedback dialog does, and the MCP `send_feedback` tool. The organization comes from the API key. Give a message and a contact address for the reply; a site, agent, agent version or conversation can be named, and each is attached only when it belongs to the organization (and, for an agent or a conversation, to the site), otherwise it is left out and the feedback is still sent. Nothing is stored: the feedback is one email that iAdvize staff read. The answer is `200` once the email provider has accepted it. Sending the same message again within 24 hours sends it only once and also answers `200`. When the feedback could not be sent the answer is `500` (`internal_error`), and sending the same message again is safe. Not recorded in the audit log: it sends one email and changes no organization state.

POST
/api/v1/feedback

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).

Request Body

application/json
  1. body
message*string

The feedback, in the sender's own words. Leave out a shopper's words, names and contact details: iAdvize staff read it.

Length1 <= length <= 2000
contactEmail*string

Where a reply goes. It is the caller's own claim: only its format is checked, and the email tells the reader it is not verified.

Formatemail
Lengthlength <= 254
siteId?|

The site the feedback is about. Optional.

Lengthlength <= 100
agentId?|

The agent the feedback is about. Optional.

Lengthlength <= 100
agentVersionId?|

The agent version the feedback is about. Optional.

Lengthlength <= 100
conversationId?|

The conversation the feedback is about. Optional.

Lengthlength <= 100
idempotencyKey?|

Optional. Send the same message again with the same key to retry safely; use a different key to send the same text again on purpose.

Length1 <= length <= 64

Response Body

The feedback was sent.

application/json
  1. response
data*
Example Request
curl -X POST 'https://example.com/api/v1/feedback' \  -H 'Content-Type: application/json' \  -d '{  "message": "The quality report would help me more with a weekly export.",  "contactEmail": "camille@example.com",  "siteId": "site_01kvnwmagvf27rc9cze5rm9e1r"}'
Example Response
{  "data": {    "status": "sent",    "feedbackId": "fbk_01kvnwmagvf27rc9cze5rm9e1r"  }}