# Triggering a monitor to run via a third-party

**URL:** <https://community.postman.com/t/triggering-a-monitor-to-run-via-a-third-party/15723>\
**Category:** Help Hub\
**Tags:** integrations, api, webhook, collections, monitors\
**Created:** [September 9, 2020, 5:15pm UTC](https://community.postman.com/t/triggering-a-monitor-to-run-via-a-third-party/15723 "2020-09-09T17:15:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cadenzabox](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cadenzabox/32/5209_2.png) [@cadenzabox](https://community.postman.com/u/cadenzabox)\
**Post date:** [September 9, 2020, 5:15pm UTC](https://community.postman.com/t/triggering-a-monitor-to-run-via-a-third-party/15723/1 "2020-09-09T17:15:41Z")

</div>

Is there a way to trigger a collection monitor to run (outside of its schedule) from a third-party service?

Specifically I want to run a monitor containing our API integration tests after every new deploy to our staging environment (but this would be generally useful outside of this use-case). For example, our deploy script could perform a CURL pointing at Postman somehow, to trigger the monitor to run after each deploy is complete.

Whilst I can see how to send monitor result data to third-party webhooks after a monitor has run, I can’t see how to trigger a monitor to run from outside Postman.

Thanks!

---

<div class="post-metadata">

**Author:** ![kevin.swiber](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kevin.swiber/32/3820_2.png) [@kevin.swiber](https://community.postman.com/u/kevin.swiber)\
**Post date:** [September 9, 2020, 6:07pm UTC](https://community.postman.com/t/triggering-a-monitor-to-run-via-a-third-party/15723/2 "2020-09-09T18:07:06Z")

</div>

Hi @cadenzabox,

Yep, you can execute a monitor via the Postman API! See here for the endpoint: [https://documenter.getpostman.com/view/631643/JsLs/#5b277ca0-7114-e04e-f1f5-246fbbd6d973](https://documenter.getpostman.com/view/631643/JsLs/#5b277ca0-7114-e04e-f1f5-246fbbd6d973)

You can also use the [postmanctl](https://github.com/kevinswiber/postmanctl/) CLI like so:

```auto
$ postmanctl run monitor $MONITOR_UID

```

Hope that helps.

Best,

Kevin

---

<div class="post-metadata">

**Author:** ![cadenzabox](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cadenzabox/32/5209_2.png) [@cadenzabox](https://community.postman.com/u/cadenzabox)\
**Post date:** [September 10, 2020, 12:45pm UTC](https://community.postman.com/t/triggering-a-monitor-to-run-via-a-third-party/15723/3 "2020-09-10T12:45:15Z")

</div>

Thank you so much! This is exactly what we need. 😁

How I didn’t find your API docs (when we use Postman to create API docs) I don’t quite know. 🤦‍♂️

Cheers, Francis
