Skip to main content
POST
Blnk Watch is currently in beta. Send us a message
Use this endpoint to compile a Watch DSL script and save it as an instruction. Once saved, Watch evaluates incoming transactions against the compiled rule. For DSL syntax and examples, see Watch rule examples.

Body

string
required
The Watch DSL script to compile. The rule name is extracted from the script and must be unique across instructions.

Response fields

integer
Auto-generated instruction ID. Use this with get instruction and delete instruction.
string
Unique rule name extracted from the DSL script.
string
Original Watch DSL script text.
string
Rule description from the DSL script, if provided.
string
Compiled rule JSON used during transaction evaluation.
string
ISO 8601 timestamp of when the instruction was created.
string
ISO 8601 timestamp of when the instruction was last updated.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.