Skip to main content

Subscribed Product

Overview

This endpoint allows you to see the list of all modelslab product you have subscribed to

Request

--request GET 'https://modelslab.com/api/subscribed_product' \

Send a GET request to https://modelslab.com/api/subscribed_product endpoint and pass the quantity of the models you want to buy in the request body.

Attributes

ParameterTypeDescription
keyStringYour API Key used for request authorization

Example

Body

Body Raw
{
"key": "",
}

Request

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
"key": "",
});

var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};

fetch("https://modelslab.com/api/subscribed_product", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Response

{
"status": "success",
"data": {
"imagen": {
"total_api_call": 999,
"api_call_remaining": 897,
"percentage_used": 10
}
}
}