Programmatic access to widget IDs / tokens

Currently, it is not possible to generate widget image URLs programmatically using only the data available from the API. While the check endpoint provides the pk and share_url, the widget URL also requires an additional token (e.g. /widget/{pk}/{token}/...), which is not exposed via the API.

This makes it difficult to dynamically create widgets in applications without manually creating them in the UI and copying the embed code.

Suggested improvement:

  • Expose the widget token/ID via the API (e.g. as part of the checks or a dedicated widget endpoint), or

  • Provide an endpoint to generate widget URLs programmatically for a given check

Use case:
I am building an application where I want to display Uptime widgets dynamically based on API data, without manual setup in the UI for each check.

This would make it significantly easier to integrate Uptime into custom dashboards and automated systems.

Please authenticate to join the conversation.

Upvoters
Status

Product Review

Board

πŸ’‘ Feature Request

Date

About 2 hours ago

Subscribe to post

Get notified by email when there are changes.