OpenFolia

Open a one-time link

POST
/auth/password/link

What a link to set a password is for (an invite or a reset), whose it is and until when it works, for the page it opens. The token goes in the body, never in an address. Using it is POST /auth/password/set.

Request Body

application/vnd.api+json
  1. body
data*

Response Body

application/vnd.api+json
  1. response
meta*
Example Request
curl -X POST 'http://localhost:3000/auth/password/link' \  -H 'Content-Type: application/vnd.api+json' \  -d '{  "data": {    "type": "SignInLink",    "attributes": {      "token": "string"    }  }}'
Example Response
{  "meta": {    "kind": "invite",    "name": "string",    "email": "string",    "expiresAt": "2019-08-24T14:15:22Z"  }}