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#
| 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 -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.
| 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. |