Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Conversations → Update Custom Attributes Of A Conversation

AI-generated

Summary

Set or update custom attributes on a specified conversation by providing a JSON object with the desired key-value pairs.

Inputs

  • Custom Attributes (required) — A JSON object specifying the custom attributes to set or update for the conversation. This should be a valid JSON string representing key-value pairs.

Output shape

a response confirming the update of the conversation's custom attributes, typically containing the updated conversation details or status information

The operation sends the custom attributes in the request body after parsing the provided JSON string. Additional request options such as batching, proxy configuration, timeout, and SSL handling can be set but do not alter the returned shape.

Examples

Example 1: Update a conversation's custom attributes to add an order ID and previous conversation ID.

Set the 'Custom Attributes' input with a JSON string containing 'order_id' and 'previous_conversation' keys and their respective values.

Links

Discussion