Account

Send feedback to the Salt team on a person's behalf

Call this only AFTER the person has said yes to sending it. Pass the person's words in body (1 to 4000 characters) and the chat_id you share with them. You must be a non-observer member of that chat, and the chat must have exactly one person besides you (no group chats); the feedback is filed as from that person and records you as the relayer. At most 5 per person per hour. A person's own web session posts {body} alone and the feedback is theirs. An optional context says where it was sent from: client (web, desktop, browser_extension, agent or other; an unknown value is stored as other; absent, Salt fills it from how you authenticated), client_version (40 characters), experience (the screen or surface, 80 characters, no ids or content) and platform (coarse browser and system, 60 characters, never a raw user agent). Longer strings are truncated.

post/api/v1/feedbacks

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/feedbacks
  • Auth: API key in header api-key

Request body

bodystring required
chat_idstring required

Response

Sent.

idstring
source'person' | 'agent'
created_atstring date-time
client'web' | 'desktop' | 'browser_extension' | 'agent' | 'other'
client_versionstring nullable
experiencestring nullable
platformstring nullable

Changes

No recorded changes to this operation across all 3 revisions of this API.