Skip to content

Apps

Apps represent your products or websites. Each app has its own API key and widget configuration.

FieldTypeDescription
idstringUUID
account_idstringUUID of the owning account
namestringApp name
api_keystringWidget API key (gk_...)
settingsobjectWidget configuration
created_atstringISO 8601 timestamp
updated_atstringISO 8601 timestamp

Create a new app.

Terminal window
curl -X POST https://api.usegenesis.dev/api/apps-create \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "My App"}'

List all apps in your account.

Terminal window
curl -X POST https://api.usegenesis.dev/api/apps-list \
-H "Authorization: Bearer TOKEN"

Get a single app by ID.

{"id": "app-uuid"}

Update an app’s name.

{"id": "app-uuid", "name": "New Name"}

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
}
}
}

Regenerate the API key for an app. The old key immediately stops working.

{"id": "app-uuid"}

Delete an app and all its feature requests.

{"id": "app-uuid"}