Skip to content

Account

Profile

store data

Store additional information to an user

  • Methode: PUT
  • Path: /api/user/profile
  • Header: X-FINO-Authorization : Bearer <JWT-AccessToken>

expected request

{
    "businessID":   "string",
    "uitrackingid": "string",
    "company":      "string",
    "firstname":    "string",
    "surename":     "string",
    "company":      "string",
    "language":     "string",
    "employCounter":"string",
    "settings":     "interface"
}

expected response:

{
    "status": {
        "message": "OK"
    },
    "code": 200,
    "data": nil
}

custom errors:

{
    "status": {
        "message": "keyToi18nText"
    },
    "data": null,
    "code": 473
}

fetch data

Returns user profile information

  • Methode: GET
  • Path: /api/user/profile
  • Header: X-FINO-Authorization : Bearer <JWT-AccessToken>

expected response:

{
    "status": {
        "message": "OK"
    },
    "code": 200,
    "data": {
            "businessID":   "string",
            "uitrackingid": "string",
            "company":      "string",
            "firstname":    "string",
            "surename":     "string",
            "company":      "string",
            "language":     "string",
            "employCounter":"string",
            "settings":     "interface"
    }
}

rest password

Sends a password reset email to the user

  • Methode: POST
  • Path: /api/user/reset-password
  • Header: X-Fino-ClientID : clientID and X-Fino-ClientSecret : token

expected request:

{
    "email": "user@email.de", // mandatory
    "lifespan": 3600, // optional, range: 0-86400, default: 43200
    "redirect_uri": "https://app.finux.ui" // optional
}

expected response:

{
    "status": {
        "message": "OK"
    },
    "code": 200,
    "data": nil
}

delete user

Delete user

  • Methode: DELETE
  • Path: /api/user/delete
  • Header: X-FINO-Authorization : Bearer <JWT-AccessToken>

expected request:

{
    "password": "string"
}

expected response:

{
    "status": {
        "message": "User deleted"
    },
    "data": null,
    "code": 200
}

custom errors:

{
    "status": {
        "message": "keyToi18nText"
    },
    "data": null,
    "code": 473
}

Feedback

Post Feedback

Writes feedback to our support-team. User will be get answered via SmartAlerts.

  • Methode: POST
  • Path: /api/user/feedback
  • Header: X-FINO-Authorization : Bearer <JWT-AccessToken>

expected request:

{
    "message": "string",
    "reply": true     
}

☝️ Do you want a reply via SmartAlerts? - Then it's true!

expected response:

{
    "status": {
        "message": "OK"
    },
    "code": 200,
    "data": nil
}

custom errors:

{
    {
        "status": {
            "message": "keyToi18nText"
        },
        "data": null,
        "code": 473
    }
}