Browse the docs

GET /inbox

The questions macros parked with ask.later that are still waiting for an answer.

Details #

Returns a list, oldest first. Each question has an id, the macroName, the question, its buttons, the defaultButton used at expiresAt, and createdAt.

curl -s -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/inbox

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X GET http://localhost/inbox

The questions macros parked with ask.later, waiting for an answer. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #