FormClarificationsController_send
POST
/api/chat/ui-interactions/{id}/clarifications/{questionKey}/messages
const url = 'https://api.streams.chat/api/chat/ui-interactions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clarifications/example/messages';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"requestId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","text":"example","expectedFormRevision":1,"scope":"shared","mentionUserIds":[]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.streams.chat/api/chat/ui-interactions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clarifications/example/messages \ --header 'Content-Type: application/json' \ --data '{ "requestId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "text": "example", "expectedFormRevision": 1, "scope": "shared", "mentionUserIds": [] }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
questionKey
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
requestId
required
string format: uuid
text
required
string
expectedFormRevision
required
integer
scope
string
mentionUserIds
Array<string>