Skip to documentation
Developer documentationAPI v1.0.0OpenAPI ↓
DocsIntegration controls

Integration controls

Domain & IP restrictions

Replace a key's allowed browser-origin domains and caller-IP list with deliberate configuration changes.

API 1.0.0Contract reviewed 9 Nov 2026

Understand what is being restricted#

Domain rules refer to browser-origin domains. IP rules refer to caller IP addresses. These are access restrictions on a key; adding a domain is not a DNS ownership-verification procedure.

Set allowed domains#

PUT/api-keys/{id}/domainsBearer token
FieldRules
domainsRequired array; schema maximum 50 entries. Account-plan limits can be lower.
Each domainString up to 300 characters. Hostname only, optionally prefixed by http:// or https://; no port or path.
Replace domains
curl --request PUT 'https://api.lookupnest.com/api/v1/api-keys/00000000-0000-4000-8000-000000000001/domains' \
  --header "Authorization: Bearer $LOOKUPNEST_ACCESS_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"domains":["app.example.com","admin.example.com"]}'

Wildcard matching, subdomain inheritance and empty-list semantics are not defined by the published schema. Do not assume them without verification.

Set allowed caller IPs#

PUT/api-keys/{id}/ipsBearer token
Replace caller IPs
curl --request PUT 'https://api.lookupnest.com/api/v1/api-keys/00000000-0000-4000-8000-000000000001/ips' \
  --header "Authorization: Bearer $LOOKUPNEST_ACCESS_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"ips":["192.0.2.10","2001:db8::10"]}'

The intended schema, recovered from a misplaced definition in the source contract, is an ips array of IPv4/IPv6 address strings with a schema maximum of 50. CIDR ranges are not declared. See contract notes for the normalization recorded in the downloadable snapshot.

Investigate origin denials#

  • Check the exact configured hostname rather than an application URL containing a path.
  • Check whether the lookup request carries the expected Origin header.
  • Check caller egress addresses when IP restrictions are involved.
  • Distinguish a restriction denial from an invalid or inactive credential.
  • Do not move production keys into browser code to bypass a server integration problem.

Need help with this integration?

Contact developer support ↗