Pular para o conteúdo principal

PUT /contacts/:uuid/conversation/update_funnel

Updates the funnel of a conversation.

Example Request

curl -X POST "https://api.callbell.eu/v1/contacts/efd7d996470e463b89f079be6cf578ed/messages/update_funnel" \ \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json" \
-d '{
"funnel_id": "ff0f96b9-b003-4d0c-b14f-27f3f6868dd6",
}'

Response

ParameterTypeDescription
contactContactThe contact which has been updated.

Example Response

response.json
{
"contact": [
{
"uuid": "414a6d692bd645ed803f2e7ce360d4c8",
"name": "John Doe",
"phoneNumber": "123456789",
"avatarUrl": null,
"createdAt": "2020-11-13T21:08:53Z",
"source": "whatsapp",
"closedAt": "2020-11-13T21:08:53Z",
"href": "https://dash.callbell.eu/contacts/414a6d692bd645ed803f2e7ce360d4c8",
"funnelId": "1cd7845e-6b93-453d-b015-9dce35d16f39",
"tags": [],
"assignedUser": null,
"customFields": {},
"team": {}
}
]
}