API reference · Account
Notifications for the installed app
GET/api/account/pushSigned in session
Whether Web Push is on for this deployment, the server key a browser subscribes with, and this account's devices.
Answer 200
The switch and the devices.
| Field | Type | What it is |
|---|---|---|
| enabled | boolean | |
| publicKey | string or null | |
| maxDevices | integer | |
| devices | array of object | |
| devices[] | string | A digest of the endpoint; never the endpoint itself. |
| devices[] | string or null | Browser and system, from the user agent. |
| devices[] | string | The push service's host. |
| devices[] | integer | |
| devices[] | integer or null |
Errors
- 401OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.