Authentication

Get Authentication token

POST https://[customer].testresults.io/api/token/login

Gets an authentication token.

Request Body

NameTypeDescription

Email

string

User's email address

Password

string

User's password

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJhbmRyaXkuYmFyZGFrb3ZAZ21haWwuY29tIiwidHJpbzpVSUQiOiI3Y2NlZWY0MS1jMzQzLTQyZjItYTVhZS02NmU4NDA2NTYwMWEiLCJ0cmlvOkNJRCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAxMCIsInRyaW86VXNhZ2UiOiIxMjIzIiwidHJpbzpNYW5hZ2VtZW50IjoiMCIsInRyaW86QWRtaW5pc3RyYXRpb24iOiIwIiwiZXhwIjoxNTU2ODA1MjM2LCJpc3MiOiJUZXN0UmVzdWx0c0lPIiwiYXVkIjoiQVBJLUctVjEifQ.8aEc1spsJVTm_EA6sVURK3bpKrRuWNtAFxKKK1inMqk"
}

Get Authentication token by Customer

POST https://[customer].testresults.io/api/token/refine

Gets an authentication token by selected Customer.

Request Body

NameTypeDescription

CustomerId

string

Customer ID

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJhbmRyaXkuYmFyZGFrb3ZAZ21haWwuY29tIiwidHJpbzpVSUQiOiI3Y2NlZWY0MS1jMzQzLTQyZjItYTVhZS02NmU4NDA2NTYwMWEiLCJ0cmlvOkNJRCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAxMCIsInRyaW86VXNhZ2UiOiIxMjIzIiwidHJpbzpNYW5hZ2VtZW50IjoiMCIsInRyaW86QWRtaW5pc3RyYXRpb24iOiIwIiwiZXhwIjoxNTU2ODA1MjM2LCJpc3MiOiJUZXN0UmVzdWx0c0lPIiwiYXVkIjoiQVBJLUctVjEifQ.8aEc1spsJVTm_EA6sVURK3bpKrRuWNtAFxKKK1inMqk"
}

PUT https://[customer].testresults.io/api/users/reset/prepare

Gets a password reset link. The link will be sent by email.

Request Body

NameTypeDescription

UserEmail

string

User's email

Host

string

Host name

{}

Update password

PUT https://[customer].testresults.io/api/users/reset

Updates your password.

Request Body

NameTypeDescription

NewPassword

string

New password

Token

string

token for password update (will be provided)

{}

Last updated