LoguDocs
Open Logu

Delivery · decisionLinkDecide

Decision link: decide

POST /r/{token}

The confirmation page's button: decides the ask with the link's option (decidedVia: "link").

Who may call it
Anyone (no credentials)
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
tokenpathstringrequiredThe signed decision link token (from an email or a notification). · e.g. eyJhIjoiYXNrXzAxSzdEUTNNMlY4SDRONlI5VDFXM1k1QjdDIiwibyI6ImFwcHJvdmUifQ.c2ln

Example#

curl -s -X POST "https://api.logu.dev/r/eyJhIjoiYXNrXzAxSzdEUTNNMlY4SDRONlI5VDFXM1k1QjdDIiwibyI6ImFwcHJvdmUifQ.c2ln"

Responses#

200

Decided.

Content type text/html.

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
400The link is invalid or expired.
403The member may no longer decide in this workspace.
409The ask already settled.