- messaging
- whatsapp_templates
- conversations
- contacts
- orders
- medias
- webhooks
Close Conversation
POST
api/v1/events
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Body Params application/json
event_type
enum<string>
required
Allowed value:
close_conversation
contact
object
required
name
string
required
phone_number
string
required
Example
{
"event_type": "close_conversation",
"contact": {
"name": "Alfred Hitchcock",
"phone_number": "+13309106533"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'api/v1/events' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"event_type": "close_conversation",
"contact": {
"name": "Alfred Hitchcock",
"phone_number": "+13309106533"
}
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-06-10 04:44:32