Delivery · decisionLinkPage
Decision link: confirm
GET /r/{token}
Opened from an email or a browser notification: shows the ask and one button for the link's option. GET never decides (link previews and email scanners are safe). No session needed: the signed link is the authority, for a Decider or Owner of the ask's workspace.
- Who may call it
- Anyone (no credentials)
- Server
- https://api.logu.dev
Parameters#
| Name | In | Type | Required | Description |
|---|---|---|---|---|
token | path | string | required | The signed decision link token (from an email or a notification). · e.g. eyJhIjoiYXNrXzAxSzdEUTNNMlY4SDRONlI5VDFXM1k1QjdDIiwibyI6ImFwcHJvdmUifQ.c2ln |
Example#
curl -s "https://api.logu.dev/r/eyJhIjoiYXNrXzAxSzdEUTNNMlY4SDRONlI5VDFXM1k1QjdDIiwibyI6ImFwcHJvdmUifQ.c2ln"
Responses#
200
The confirmation page.
Content type text/html.
Errors#
Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.
| Status | Code | Meaning |
|---|---|---|
| 400 | The link is invalid or expired. | |
| 403 | The member may no longer decide in this workspace. | |
| 409 | The ask already settled. |