get https://bolt.thena.ai/v3/requests//conversations
This returns a requests conversations.
Response parameters
Field Name | Description |
---|---|
error | Boolean indicating if there was an error (false means no error). |
ok | Boolean indicating if the request was successful (true means successful). |
data[].request_id | Unique identifier for the request. |
data[].conversations[] | Array of conversation messages related to the request. |
data[].conversations[].text | The text content of the conversation message (e.g., "hello"). |
data[].conversations[].ts | Timestamp indicating when the message was sent. |
data[].conversations[].html | HTML content of the conversation message. |
data[].conversations[].blocks[] | Array of rich text blocks, containing the structured format of the message. |
data[].conversations[].blocks[].type | Type of block (e.g., rich_text ). |
data[].conversations[].blocks[].block_id | Identifier for the block. |
data[].conversations[].blocks[].elements[] | Array of elements within the rich text block. |
data[].conversations[].blocks[].elements[].type | Type of element (e.g., rich_text_section ). |
data[].conversations[].blocks[].elements[].elements[] | Array of elements within the section (e.g., text). |
data[].conversations[].blocks[].elements[].elements[].type | Type of inner element (e.g., text ). |
data[].conversations[].blocks[].elements[].elements[].text | The text content of the inner element. |
data[].conversations[].user_team | Team ID of the user who sent the message. |
data[].conversations[].user | Unique identifier for the user who sent the message. |
data[].conversations[].user_info.id | ID of the user who sent the message. |
data[].conversations[].user_info.team | Team ID of the user. |
data[].conversations[].user_info.real_name | Real name of the user. |
data[].conversations[].user_info.display_name | Display name of the user. |
data[].conversations[].user_info.name | Username of the user. |
data[].conversations[].user_info.image | URL of the user's profile image. |
data[].conversations[].user_type | Type of the user (e.g., customer ). |
data[].conversations[].id | ID of the conversation message. |
data[].conversations[].file[] | Array of files attached to the conversation (empty in this case). |
data[].conversations[].._id | Unique identifier for the conversation message. |