User

Login

This endpoint is to log in a different user. You do not need to call this Endpoint with your API username and password in order to use the API.

This Endpoint is intended to those who want to add Sprift platform into their platforms using an iFrame and let Sprift users to login to Sprift.

post/user/login

Request

  • Base URL
    https://sprift.com/dashboard/api/v1
  • Auth
    HTTP basic

Headers

SPRIFT-API-KEYstring required

Request body application/x-www-form-urlencoded

usernamestring required

Username of the User that you want to log in.

passwordstring required

Password of the User that you want to log in.

Response

Log user in

statusboolean
tokenstring

Token assigned to the user.

expiresstring

Token expiry date

urlstring

The URL that is generated for the logged in User to use Sprift platform without requiring login.

telephonenumber

User telephone

emailstring

User email address

Example response

{
  "status": true
}

Changes

No recorded changes to this operation across all 2 revisions of this API.