Use this to retrieve the latest/last auth_link generated for the specified user..

Arguments

no arguments required

Returns

Returns the latest/last auth_link generated for the specified user. Returns an error otherwise.

GET /users/{user.id}/auth_link
GET /users/{user.id}/auth_link HTTP/1.1
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json

{
  "type": "auth_link",
  "id": "63448be4",
  "userId": "ec4ea48d",
  "expiresAt": "2019-11-21T04:08:50Z",
  "mobile": "+61410000000",
  "links": {
    "self": "https://au-api.basiq.io/users/ec4ea48d/auth_link",
    "public": "https://connect.basiq.io/63448be4"
  }
}