Verify

Once you receive the OTP, verify it by sending another POST request to the same endpoint. This request should include both your email address and the OTP you received.

Verify OTP and retrieve API key

post
Body
emailstringOptionalExample: [email protected]
otpstringOptionalExample: 123456
Responses
200
OTP verified successfully, returns API key
application/json
post
POST /login/verify HTTP/1.1
Host: devutility.streamnft.tech
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "email": "[email protected]",
  "otp": 123456
}
{
  "success": true,
  "API_KEY": "your-generated-api-key"
}

Response:

If the OTP is verified successfully, the response will include your API key:

{
  "success": true,
  "API_KEY": "YOUR_API_KEY_HERE"
}

Use this API key for all subsequent API calls by including it in the header of your requests.

Last updated

Was this helpful?