Run in Apidog
POST | EMERGENCY# Creates a new emergency in the API, taking into information of the message ID sent through WhatsApp Cloud (Through the API) and the responders' information Request Provide your bearer token in the Authorization
header when making requests to protected resources. Example: Authorization: Bearer ********************
Body Params application/json
{
"is_active" : true ,
"initiator_id" : "pxfq83" ,
"responders" : [
{
"phone" : "584121307426" ,
"name" : "Jhon Leon" ,
"sent" : false ,
"delivered" : false ,
"read" : false ,
"failed" : false ,
"message_id" : "wamid.HBgMNTg0MTIxMzA3NDI2FQIAERgSMkU1NDIyMTJDQTE3NzhBNUQ1AA=="
}
]
} Request Code Samples
curl --location --globoff '/{{v2}}/emergency' \
--header 'X-Application-Identifier: {{TEST_SCAEM_APP_UUID}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"is_active": true,
"initiator_id": "pxfq83",
"responders": [
{
"phone": "584121307426",
"name": "Jhon Leon",
"sent": false,
"delivered": false,
"read": false,
"failed": false,
"message_id": "wamid.HBgMNTg0MTIxMzA3NDI2FQIAERgSMkU1NDIyMTJDQTE3NzhBNUQ1AA=="
}
]
}' Responses application/json
Generate Code
{
"meta" : {
"timestamp" : "2025-07-04T15:16:10-04:00" ,
"api_version" : "v1.2.0" ,
"status" : 200 ,
"copyright" : "© 2025 api.dataemergencia.com. All rights reserved."
} ,
"data" : {
"emergency_id" : 60 ,
"is_active" : "active" ,
"responders" : [
{
"id" : 130 ,
"emergency_id" : 60 ,
"name" : "Jhon Leon" ,
"phone" : "584121307426" ,
"sent" : false ,
"delivered" : false ,
"read" : false ,
"failed" : false ,
"message_id" : "wamid.HBgMNTg0MTIxMzA3NDI2FQIAERgSMkU1NDIyMTJDQTE3NzhBNUQ1AA=="
}
]
}
} Modified at 2025-08-04 15:30:12