Authentication
The Authentication API verifies the validity of your API key. If the key is valid, it returns the associated user's email address and the number of remaining tokens available for use.
HTTP Request
GET https://rentest.ai/api/v1/property/auth
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
api_key | string | yes | Recommended: pass API key via header :Authorization: Bearer YOUR_API_KEY , Alternatively, use api_key=... as a query parameter. |
Costs
0 api Credits
// JavaScript Fetch Example
const params = new URLSearchParams({
api_key: "YOUR_API_KEY"
});
fetch("https://rentest.ai/api/v1/property/auth?params.toString()", {
method: "GET",
headers: {
"Content-Type": "application/json",
},
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));