List automation rules
GET
/openapi/messagerule
const url = 'https://open-api.replyco.com/openapi/messagerule';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://open-api.replyco.com/openapi/messagerule \ --header 'Authorization: Bearer <token>'Returns all active automation rules for the current company, ordered by priority (lower numbers run first).
Each rule includes its id, ruleName, priority, its condition, and its action. Use a rule’s id
with GET /openApi/messageRule/{id} to fetch it or PUT /openApi/messageRule/{id} to replace it.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Returns the list of rules.
User is not authenticated or authorized.