Get daily map search quota
curl --request GET \
--url https://app.nudgen.net/api/v1/map-leads/quota \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.nudgen.net/api/v1/map-leads/quota', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/map-leads/quota"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}API reference
Get daily map search quota
Quota belongs to the active workspace and resets at midnight UTC. Null limit and remaining mean unlimited.
GET
/
api
/
v1
/
map-leads
/
quota
Get daily map search quota
curl --request GET \
--url https://app.nudgen.net/api/v1/map-leads/quota \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.nudgen.net/api/v1/map-leads/quota', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/map-leads/quota"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}Was this page helpful?