WidgetKeysResource is reachable on every Kataven Node client as client.widgetKeys. Each method maps to one HTTP endpoint on the Hub API; links to the underlying spec entry are inline below.
pk_live_ keys are the public identifiers you put in your website’s HTML widget bootstrap. They’re not credentials — domain allowlists keep them safe.
Methods at a glance
| Method | HTTP | Summary |
|---|---|---|
list | GET /api/v1/widget-keys | List widget keys |
create | POST /api/v1/widget-keys | Create a widget key (returns plaintext pk_live_ ONCE) |
update | PATCH /api/v1/widget-keys/{id} | Update or revoke a widget key |
delete | DELETE /api/v1/widget-keys/{id} | Delete or soft-disable a widget key |
Reference
client.widgetKeys.list(...)
List widget keys
HTTP — GET /api/v1/widget-keys · API reference →
client.widgetKeys.create(...)
Create a widget key (returns plaintext pk_live_ ONCE)
HTTP — POST /api/v1/widget-keys · API reference →
<script data-client-key="..."> attribute.
client.widgetKeys.update(...)
Update or revoke a widget key
HTTP — PATCH /api/v1/widget-keys/{id} · API reference →
client.widgetKeys.delete(...)
Delete or soft-disable a widget key
HTTP — DELETE /api/v1/widget-keys/{id} · API reference →

