Get widget config
Returns a project’s public widget configuration: the display settings a widget or mobile app needs to render itself, such as whether voting is enabled and the title to show. It powers the embeddable widget and custom integrations.
GET /api/projects/{id}/configAuthentication
Section titled “Authentication”None. This endpoint is public so a widget or mobile app can read its configuration from a visitor’s device without exposing an API token. Only non-sensitive display settings are returned.
Path parameters
Section titled “Path parameters”| Parameter | Type | Description |
|---|---|---|
id | string | The project whose configuration you want. |
Example request
Section titled “Example request”curl https://updatify.io/api/projects/PROJECT_ID/configResponse
Section titled “Response”200 OK with a JSON object containing a data object.
{ "data": { "voting_enabled": true, "widget_title": "What's new" }}Config object
Section titled “Config object”| Field | Type | Description |
|---|---|---|
voting_enabled | boolean | Whether the up/downvote section should be offered for this project’s updates. |
widget_title | string | null | Title shown at the top of the widget, or null if the project hasn’t set one. |
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
404 Not Found | No project exists with the given ID. |
See Errors for details.