Authenticate with the Testlify API

Before you begin

Ensure API access is enabled on your Testlify account and that you have a registered email address. Contact support@testlify.com to enable access if needed.

Step 1: Request a one-time password (OTP)

Send a POST request to receive an OTP at your registered email.

Request body:

{
"provider": "email",
"email": "xyz@example.com",
"action": "login",
"language": "",
"domainName": ""
}

Response: HTTP 204 (No Content) — OTP sent to your inbox.

Step 2: Verify the OTP

Submit the OTP from your email to receive your access key.

Request body:

{
"provider": "email",
"email": "xyz@example.com",
"otp": "555444"
}

Response (200 OK):

{
"accessKey": "af9621a4-2cf4-4b82-8714-0a195ce61497-ak"
}

Tip: Copy and save your accessKey — you will need it in Step 3.

Step 3: Log in

Use your email and access key to complete authentication.

Request body:

{
"provider": "email",
"email": "xyz@example.com",
"accesskey": "734e6d27-686e-46da-a8a8-566993bb6604-ak"
}

Need help? Contact support.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us