{"id":3178,"date":"2023-05-14T01:43:22","date_gmt":"2023-05-14T04:43:22","guid":{"rendered":"https:\/\/24cevent.com\/sin-categorizar\/how-to-integrate-your-alarms-with-24cevent\/"},"modified":"2026-03-20T16:39:00","modified_gmt":"2026-03-20T19:39:00","slug":"24cevent-como-integrar-tus-alarmas","status":"publish","type":"post","link":"https:\/\/24cevent.com\/en\/24cevent-como-integrar-tus-alarmas\/","title":{"rendered":"How to integrate your alarms with 24Cevent"},"content":{"rendered":"\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<p>In this article we will explain step by step how to integrate your alarms from any monitoring software, with <strong>24Cevent<\/strong>, an incident management platform that performs automatic notifications in real time through phone calls, Email, Whatsapp, Telegram and Teams among other notification channels<a href=\"https:\/\/24cevent.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">(check all the features here<\/a>).<\/p>\n\n<p>If you don&#8217;t have an account yet, <a href=\"https:\/\/24cevent.com\/en\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">request your access to our free plan<\/a>.  <\/p>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\">Step 1: Obtain your API Token<\/h2>\n\n<p>Log in to your account at <a href=\"https:\/\/app.24cevent.com\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/app.24cevent.com,<\/a> then in your profile go to <strong>My profile<\/strong>:  <\/p>\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-1.png\" alt=\"24Cevent Profile\" class=\"wp-image-2606\" width=\"228\" height=\"189\" \/><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<p>Then, copy the value indicated in the <strong>API Token<\/strong> field, this field is the one that allows you to use our API to integrate your alarms.  <\/p>\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-2-1024x601.png\" alt=\"24Cevent API Token\" class=\"wp-image-2607\" width=\"768\" height=\"451\" srcset=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-2-1024x601.png 1024w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-2-300x176.png 300w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-2-768x451.png 768w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-2.png 1330w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\">Step 2: Use our API  <\/h2>\n\n<p>The endpoint is <strong>POST <\/strong><code><a href=\"https:\/\/app.24cevent.com\/api\/clientapi\/sendNotification\">https:\/\/app.24cevent.com\/api\/clientapi\/sendNotification<\/a><\/code> and allows:  <\/p>\n\n<ul class=\"wp-block-list\">\n<li>Create incident with severity: critical, major and minor.<\/li>\n\n\n\n<li>Modify severity of the incident.<\/li>\n\n\n\n<li>Close incident<\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\"><strong>Request<\/strong><\/h3>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h4 class=\"wp-block-heading\"><strong>Headers<\/strong><\/h4>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Header<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>Content-Type<\/td><td>application\/json<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h4 class=\"wp-block-heading\"><strong>Request Body<\/strong><\/h4>\n\n<pre class=\"wp-block-preformatted\">{\n    \"access_token\": \"mi_token\",\n    \"servicio\": \"mi_servicio\",\n    \"external_id\": \"id_unico\",\n    \"message\": \"mi_mensaje\",\n    \"language\": \"es-cl\",\n    \"criticidad\": \"criticidad_alarma\",\n    \"custom\": {\n    \t\"mi_propiedad\": \"mi_valor\"\n    }\n}\n<\/pre>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Property<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td><strong>access_token<\/strong><\/td><td>Primitive (String)<\/td><td>Key that identifies your account for remote procedures. It is obtained by accessing the web portal, in &#8220;My profile&#8221;, copy content from &#8220;API Token&#8221;.<\/td><\/tr><tr><td><strong>service<\/strong><\/td><td>Primitive (String)<\/td><td>Name of the 24Cevent service previously configured in the portal. It is the variable that indicates the flow of notifications to be executed.<\/td><\/tr><tr><td><strong>external_id<\/strong><\/td><td>Primitive (String)<\/td><td>Unique variable that identifies the target on which the incident is being reported. Multiple API calls with the same external_id only modify the state of the previously reported event.<\/td><\/tr><tr><td><strong>message<\/strong><\/td><td>Primitive (String)<\/td><td>Alarm message<\/td><\/tr><tr><td><strong>language<\/strong><\/td><td>Primitive (String)<\/td><td>[<strong>Optional]<\/strong>Allows you to indicate the language in which the alert information is displayed (related to the information fields such as message or custom variables).<\/td><\/tr><tr><td><strong>criticality<\/strong><\/td><td>Primitive (String)<\/td><td>Alarm priority. The allowed values are: <strong>critical <\/strong>(high), <strong>major <\/strong>(medium), <strong>minor <\/strong>(low) and <strong>ok <\/strong>(solved).<\/td><\/tr><tr><td><strong>custom<\/strong><\/td><td>Object<\/td><td>[<strong>Optional]<\/strong>Object containing custom variables, these variables can then be used for the various modules of the platform: Event ManagerFiltering Statistics Grouping Logics<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h4 class=\"wp-block-heading\">Service<\/h4>\n\n<p>In the web portal, in the <strong>Services<\/strong> section, you can define which team is on duty, during which hours and by which protocol it should be notified. The API must indicate to which service the alarm being sent should be linked.  <\/p>\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-3-1024x384.png\" alt=\"24Cevent Services\" class=\"wp-image-2608\" width=\"768\" height=\"288\" srcset=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-3-1024x384.png 1024w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-3-300x113.png 300w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-3-768x288.png 768w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-3.png 1311w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h4 class=\"wp-block-heading\">Criticality<\/h4>\n\n<ul class=\"wp-block-list\">\n<li>An API invocation with a criticality: critical, major or minor generates an incident.<\/li>\n\n\n\n<li>An API invocation with a criticality: OK, clears the incident that <strong>matches the external_id<\/strong>.  <\/li>\n\n\n\n<li>An API invocation with a criticality: critical, major or minor for an external_id that has an active incident, only modifies the criticality of the incident.  <\/li>\n<\/ul>\n\n<p>The following image shows how each incident appears in the event manager, represented by a timeline and a history of all actions. The selected event had a status change from major to critical.  <\/p>\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-4-1024x395.png\" alt=\"24Cevent event manager\" class=\"wp-image-2609\" width=\"768\" height=\"296\" srcset=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-4-1024x395.png 1024w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-4-300x116.png 300w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-4-768x296.png 768w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-4-1536x593.png 1536w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-4.png 1689w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h4 class=\"wp-block-heading\"><strong>Language<\/strong><\/h4>\n\n<p>The values currently available for this field are as follows:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>es-cl: <\/strong>Chilean Latin American Spanish<\/li>\n\n\n\n<li><strong>en-es:<\/strong> European Spanish<\/li>\n\n\n\n<li><strong>en-us:<\/strong> American English<\/li>\n\n\n\n<li><strong>en-gb:<\/strong> British English<\/li>\n\n\n\n<li><strong>pt-br:<\/strong> Brazilian Portuguese<\/li>\n<\/ul>\n\n<p>The platform allows you to enter the language of each contact that receives notifications. In case the language of the alarm is not the same as the language of the contact, our platform translates the message, facilitating the communication of multinational companies.  <\/p>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h4 class=\"wp-block-heading\"><strong>Custom variables<\/strong><\/h4>\n\n<p>You can use the optional <strong>custom<\/strong> object to define custom variables that you want to associate with the alarm. 24Cevent supports two types of these variables: <strong>simple <\/strong>and <strong>special<\/strong>.<\/p>\n\n<p>In this article we will only look at the <strong>simple<\/strong> variable that represents data in text form:<\/p>\n\n<p>&#8220;custom&#8221;: {<br \/> &#8220;my_variable_1&#8221;: &#8220;un_value&#8221;,<br \/> &#8220;my_variable_2&#8221;: &#8220;other_value&#8221;<br \/>}<br \/><br \/>If you need more information about the <strong>API<\/strong>, please <a href=\"https:\/\/24cevent.com\/?page_id=2600\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/24cevent.com\/documentacion\/\" rel=\"noreferrer noopener\">access our full documentation.<\/a> <\/p>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\">Step 3: Test our API  <\/h2>\n\n<p>For the following examples, remember to modify the <strong>access_token<\/strong> and <strong>service<\/strong> to the values you have configured in your 24Cevent environment.  <\/p>\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.postman.com\/downloads\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/www.postman.com\/downloads\/\" rel=\"noreferrer noopener\">Postman<\/a><\/h3>\n\n<p>Use postman to send a test alarm to your 24Cevent environment.  <\/p>\n\n<ul class=\"wp-block-list\">\n<li>Remember in headers to set the Content-type to application\/json<\/li>\n\n\n\n<li>In Body use the format indicated in step 2. (see sample image)<\/li>\n<\/ul>\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-5.png\" alt=\"Integrate your alarms\" class=\"wp-image-2610\" width=\"629\" height=\"364\" srcset=\"https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-5.png 838w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-5-300x174.png 300w, https:\/\/24cevent.com\/wp-content\/uploads\/2023\/05\/image-5-768x444.png 768w\" sizes=\"(max-width: 629px) 100vw, 629px\" \/><\/figure>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h3 class=\"wp-block-heading\">Curl<\/h3>\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code>curl --location 'https:\/\/app.24cevent.com\/api\/clientapi\/sendNotification' \\\n--header 'Content-Type: application\/json' \\\n--data '{\"access_token\": \"6hN7PZyxvPc8F6Uuzr6Kjzus0XTfDdOq3IskOKUIoA0=\",\n\"message\": \"Aca se escribe el mensaje de la alarma que detecto el software de monitoreo\",\n\"language\":\"es-cl\",\n\"servicio\": \"demo 24cevent\",\n\"criticidad\": \"critical\",\n\"external_id\": \"custom_unique_identifier\",\n\"custom\": {\n\t\"pais\": \"Chile\",\n\t\"ciudad\": \"Santiago\",\n\t\"negocio\": \"24Cevent\",\n    \"Impacto\": \"Alto\"\n     }\n}' <\/code><\/pre>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\">Step 4: Integrate your monitoring software<\/h2>\n\n<p>Now that you know how to use our API, search in your favorite monitoring software for webhook notifications. All modern software comes with this option, where the main difficulty is to match the payload (request body) to the format required by 24Cevent.  <\/p>\n\n<p>If you don&#8217;t have a way to send a customized webhook in the format required by 24Cevent, <a href=\"https:\/\/24cevent.com\/en\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">write to us and our technical team can create a connector for your tool<\/a>. We have successfully integrated with multiple monitoring software such as: Nagiox, Zabbix, CheckMK, Instana, Dynatrace and Appdynamics among others.  <\/p>\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<p><strong><strong>Don&#8217;t want to keep team members up all night?<\/strong><\/strong>  Let your team rest and automate your event management 24&#215;7. Integrate all your alerts, classify them and generate real-time notifications to your team of specialists only when it is necessary to wake them up.  <\/p>\n\n<p><a href=\"http:\/\/24cevent.com\/contacto\/\" target=\"_blank\" rel=\"noreferrer noopener\">\n  <strong>Join today, at no cost and with no commitment in our free level<\/strong>\n<\/a> and discover how with 24Cevent you can have your own automated operations center.<\/p>\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Step by step to integrate your alarms with 24Cevent. Integrate via API your preferred monitoring software and automate the notification and tracking of your alarms.<\/p>\n","protected":false},"author":3,"featured_media":3083,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[157],"tags":[63,64],"class_list":["post-3178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-new-at-24cevent","tag-24cevent-en","tag-integrate-alarms"],"_links":{"self":[{"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/posts\/3178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/comments?post=3178"}],"version-history":[{"count":5,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/posts\/3178\/revisions"}],"predecessor-version":[{"id":4929,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/posts\/3178\/revisions\/4929"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/media\/3083"}],"wp:attachment":[{"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/media?parent=3178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/categories?post=3178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/24cevent.com\/en\/wp-json\/wp\/v2\/tags?post=3178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}