Show a notification
POST
/api/notify
Code sample: Shell / cURL
curl --request POST \ --url http://127.0.0.1:8004/api/notify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "level": "info", "title": "example", "body": "example" }'Shows a notification, not tied to a pane, in every client.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Done
A malformed JSON body
Media typetext/plain
string
Missing or wrong access token
Media typetext/plain
string
The request’s Host or Origin isn’t allowed, or the caller can’t use this route (a guest token, or btmux connect)
A body over the size limit
Media typetext/plain
string
No Content-Type: application/json
Media typetext/plain
string
Empty title; or a body that doesn’t match its schema
Media typetext/plain
string