How to Create an alarm definition using Milestone API's and what its API ?

I have used the triggering Alarm API to send an Alarm to Milestone , but this alarm shows in smart client and not created in Management client so i can’t perform any actions on it like locate it on a map … etc

is there is an API to do so ??

It is recommended to trigger an event that can trigger an alarm based on the alarm definitions, instead of triggering an alarm directly.

The Alarm API is a REST API which you find documented here - https://doc.developer.milestonesys.com/mipvmsapi/api/alarms-rest/v1/

To raise events instead use the Event API - https://doc.developer.milestonesys.com/mipvmsapi/api/events-rest/v1/

To create alarm definitions use the Configuration API - https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/

For an overview please see – https://doc.developer.milestonesys.com/mipvmsapi/

Please note that Milestone has a number of integration development options, if my links are not finding your favorite integration option you might find other options based on the overview..