What is the If-None-Match header?
The If-None-Match request header is used for conditional GET requests. The server will send the full resource only if the current ETag on the server does not match the client’s ETag.
API Usage & Best Practices
- Enable HTTP/CDN Caching: Essential for optimizing mobile apps or web frontends querying configuration, catalogs, or large asset datasets.
- Returns 304: If the ETags match, return
304 Not Modifiedwith no body.
Examples
GET /v1/leads/lead_123 HTTP/1.1If-None-Match: "w/3a84e27f01"