cURL
curl --request POST \ --url https://api.trillet.ai/v1/api/conversations/{conversationId}/customer/edit \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data '{ "name": "<string>", "phone": "<string>", "email": "<string>" }'
{ "status": "success", "conversationId": "123e3a141eccd665d3ba8abc", "updatedCustomerDetails": { "name": "Alice", "email": "alice@example.com", "phone": "+1234567890", "_id": "123c8e368824aa5f130b9xyz", "createdAt": "2025-01-01T12:00:00.000Z", "updatedAt": "2025-01-02T18:00:00.000Z" } }
Edit customers details in a specific conversation.
Show Properties