# CreateAlert Endpoint

**URL:** <https://community.tradovate.com/t/createalert-endpoint/5013>\
**Category:** API Developers\
**Created:** [July 10, 2022, 10:37am UTC](https://community.tradovate.com/t/createalert-endpoint/5013 "2022-07-10T10:37:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgw](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jgw](https://community.tradovate.com/u/jgw)\
**Post date:** [July 10, 2022, 10:37am UTC](https://community.tradovate.com/t/createalert-endpoint/5013/1 "2022-07-10T10:37:37Z")

</div>

I want to create alerts based on my own custom logic programmatically. The API has the createAlert endpoint that takes the “expression” string. I’m guessing the expression string is where I would define the alert conditions? E.g. price crossing below X. Does anyone have a syntax basic example of how to define an expression string for the createAlert endpoint? Thanks!

---

<div class="post-metadata">

**Author:** ![supahcullen](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@supahcullen](https://community.tradovate.com/u/supahcullen)\
**Post date:** [October 28, 2022, 8:20pm UTC](https://community.tradovate.com/t/createalert-endpoint/5013/2 "2022-10-28T20:20:14Z")

</div>

It’s a shame that Tradovate API support never responded ☹

Did you ever test this out? Get it working? I’m trying to do the same thing and running into the same questions you are having.

---

<div class="post-metadata">

**Author:** ![jgw](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jgw](https://community.tradovate.com/u/jgw)\
**Post date:** [October 28, 2022, 8:40pm UTC](https://community.tradovate.com/t/createalert-endpoint/5013/3 "2022-10-28T20:40:19Z")

</div>

Nope. I gave up on it. Will revisit if I see a working example
