curl --request GET \
--url https://public.watermelon.ai/api/v1/conversations/{id} \
--header 'Authorization: Bearer <token>'{
"id": 1,
"caller_id": 123,
"user_id": 123,
"service": "webchat",
"webchat_socket_channel": "<string>",
"new": true,
"is_closed": true,
"archived": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"chatbot_enabled": true,
"no_matches_count": 123,
"out_of_office_replied": true,
"company_id": 123,
"team_id": 123,
"messages": [
{
"id": 123,
"conversation_id": 123,
"user_id": 123,
"type": "text",
"payload": "<string>",
"new": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"read": true
}
]
}curl --request GET \
--url https://public.watermelon.ai/api/v1/conversations/{id} \
--header 'Authorization: Bearer <token>'{
"id": 1,
"caller_id": 123,
"user_id": 123,
"service": "webchat",
"webchat_socket_channel": "<string>",
"new": true,
"is_closed": true,
"archived": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"chatbot_enabled": true,
"no_matches_count": 123,
"out_of_office_replied": true,
"company_id": 123,
"team_id": 123,
"messages": [
{
"id": 123,
"conversation_id": 123,
"user_id": 123,
"type": "text",
"payload": "<string>",
"new": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"read": true
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Conversation id to fetch
Conversation
1
telegram, facebook, mail, webchat, twitter, whatsapp "webchat"
Show child attributes