Maximum API token lifetime
Pick 30 days, 60 days, 90 days, 180 days or 1 year, or leave it at No limit. While a limit is set:- New tokens must expire within it, and No expiration is not offered when creating one.
- Saving a shorter limit shortens existing tokens to fit. A token already older than the new limit stops working when you save, and the confirmation counts how many will.
- Loosening the limit applies to new tokens only. Tokens that were shortened or have expired keep their dates.
X-Mangrove-Token header uses an ordinary token, so the limit applies to it.
Allowed networks for API tokens
This is an IP allowlist. Add the public IP addresses your integrations call from, either a single address (203.0.113.7) or a CIDR range (203.0.113.0/24), each with an optional label. With no networks listed, tokens work from any address. Once one is listed, a request from anywhere else is refused with a 403 network_not_allowed error that names the address.
The page shows your browser’s current address with a button to add it. Before you save, the confirmation lists the tokens used in the last 30 days that the new list would block, and the tokens with no recent address on record, which will be blocked if they are next used from outside the list.
After saving, Recently blocked lists the addresses refused in the last 7 days, with the token each one used and a button to add the address to the list.
Ranges are limited to /8 or narrower for IPv4 and /16 or narrower for IPv6, and private or reserved ranges are not accepted. A list holds up to 100 networks.
If your account is managed from a portfolio account, the portfolio account’s own tokens follow its allowed networks rather than this list.