GET/v1/account
Get your domain allowance
How many domains your plan allows, how many are counted against it and how many you can still add. remaining is never below 0, and is 0 while the account is suspended. Reads of your account, your tag list, your email verifier credits and one email verifier list share a limit of 120 requests a minute per key.
Responses
- 200
Your allowance.
Errors 401, 402, 403, 429, 503
- 401
The API key is missing, malformed, replaced or revoked.
- 402
The account has an overdue payment.
- 403
This account can't use the API, or the person the key belongs to does not have permission for this action. Team members' permissions are set in the customer portal.
- 429
Too many requests from your key or your IP address, or another request of the same kind for this account is still running. Wait for the number of seconds in Retry-After, then try again.
- 503
A temporary problem on our side. Try again shortly.
curl https://app.infrasuite.io/api/v1/account \
-H "Authorization: Bearer $INFRASUITE_API_KEY"{
"allowance": 20,
"used": 7,
"remaining": 13,
"suspended": false
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Provide a valid API key in the Authorization header."
}{
"type": "about:blank",
"title": "Payment required",
"status": 402,
"code": "payment_required",
"detail": "This account has an overdue payment."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"code": "forbidden",
"detail": "This account can't use the API."
}{
"type": "about:blank",
"title": "Too many requests",
"status": 429,
"code": "rate_limited",
"detail": "Too many requests. Slow down and retry."
}{
"type": "about:blank",
"title": "Temporarily unavailable",
"status": 503,
"code": "temporarily_unavailable",
"detail": "Try again shortly."
}