Asked by Micha_f on February 4, 2025
Can I create environment variables / secret tokens that are inaccessible from front‑end site code?
Answered by Twidget
Yes. Store API keys as global variables; they are only accessible in endpoints, API functions, and events (server side) and are not exposed to front‑end code.
Automatic API docs and table limits
API documentation is automatically generated for your endpoints.
You can create an unlimited number of tables across all tiers.
Using Twidget with GoodBarber and dashboards
Yes — Twidget can make external API calls and is suitable for building APIs and dashboards consumed by other platforms.
Manage tables via API
Yes. You can manage tables via Twidget’s API.
How Twidget compares to no‑code automation tools
Twidget goes beyond simple automations: you can create full, complex APIs that serve front‑end clients, mobile apps, or games, not just automation flows. It can therefore both replace and complement no‑code automation tools depending on your needs.
See our use‑case examples for ideas: https...
Setting custom status codes in API output
Successful responses default to HTTP 200. Use the validate function to detect invalid input and throw an error — that will return an appropriate non‑200 status code. See the linked tutorial for details.
https://www.youtube.com/watch?v=FAbQP37ImUI