seo

POST /v1/seo/quota/top-up

Buy extra domain lookups.

Alle seo-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

curl -X POST https://api.zinndigital.com/v1/seo/quota/top-up \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "quantity": <integer> }'

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

Buys a pack of additional lookups, paid from the account credit balance. Purchased lookups do not expire and are spent only once the daily plan allowance is used up. Idempotent on the `Idempotency-Key` header: repeating a request with the same key returns the same purchase rather than buying a second pack. `422` when the pack size is not sold or the credit balance does not cover it — in which case nothing is charged at all.

Parameters

NaamTypeVerplichtWat dit is
Idempotency-Key (header)stringNeeCaller-supplied replay key. Strongly recommended: without one, a retried request buys a second pack.

Aanvraaglichaam

NaamTypeVerplichtWat dit is
quantityintegerJaThe pack size to buy. Must be one offered by `GET /v1/seo/quota`.

Reactie

NaamTypeVerplichtWat dit is
daily_allowanceintegerJaLookups included per day. `-1` means unlimited.
used_todayintegerJaPlan-funded lookups run since midnight UTC.
plan_remainingintegerNee
top_up_remainingintegerNeePurchased lookups still unspent. These do not expire.
remainingintegerJa
is_unlimitedbooleanNee
can_look_upbooleanJaWhether a lookup would be permitted right now. **Not** the same as `remaining > 0`: a suspended or unpaid account may have lookups left and still be refused.
in_good_standingbooleanNee
packsobject[]JaPacks of extra lookups available to buy.

Fouten die dit eindpunt kan retourneren

401 · 403 · 422