General Question: Is there an API Endpoint to read the available text-modules?
Yes. In general, it’s safe to assume that there’s a REST API for everything in Zammad, because the frontend is running in JS completely on the client side. If the frontend can access something, there has to be an API for that.
It’s apparently not documented, but using the browser dev tools, it’s easy enough to figure out. Open your dev tools, switch to the network tab, and open a random ticket. Hit Ctrl+F5, and you should see the following request in the log:
- Request URL: https://zammad.example.tld/api/v1/text_modules/?full=true&_=1563189894922
- Request Method: GET
From there on, you’ll probably be able to figure out the rest by yourself
Thank you for the hint! Why did I not come up with this idea
You might want to try this:
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.