Apps
Apps represent your products or websites. Each app has its own API key and widget configuration.
App object
Section titled “App object”| Field | Type | Description |
|---|---|---|
id | string | UUID |
account_id | string | UUID of the owning account |
name | string | App name |
api_key | string | Widget API key (gk_...) |
settings | object | Widget configuration |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |
apps-create
Section titled “apps-create”Create a new app.
curl -X POST https://api.usegenesis.dev/api/apps-create \ -H "Authorization: Bearer TOKEN" \ -H "Content-Type: application/json" \ -d '{"name": "My App"}'apps-list
Section titled “apps-list”List all apps in your account.
curl -X POST https://api.usegenesis.dev/api/apps-list \ -H "Authorization: Bearer TOKEN"apps-get
Section titled “apps-get”Get a single app by ID.
{"id": "app-uuid"}apps-update
Section titled “apps-update”Update an app’s name.
{"id": "app-uuid", "name": "New Name"}apps-update-settings
Section titled “apps-update-settings”Update widget settings for an app.
{ "id": "app-uuid", "settings": { "widget": { "primary_color": "#10B981", "position": "bottom-left", "button_text": "Feature Request", "show_email_field": true, "require_email": false, "allow_file_uploads": true } }}apps-regenerate-key
Section titled “apps-regenerate-key”Regenerate the API key for an app. The old key immediately stops working.
{"id": "app-uuid"}apps-delete
Section titled “apps-delete”Delete an app and all its feature requests.
{"id": "app-uuid"}