VerifiedVisitors visitor access control API (1.0.0)
Download OpenAPI specification:Download
verifyVisitor
Authorizations:
Request Body schema: application/json
timestamp | integer Epoch timestamp in milliseconds |
required | object |
host required | string Value of the 'host' header. This must match the site hostname set up in the VerifiedVisitors console. |
uri | string Request URI path and query |
method | string Request method |
headers | Array of strings List of headers included in the request |
connection | string Value of the |
referer | string Value of the |
origin | string Value of the |
pragma | string Value of the |
xForwardedFor | string Value of the |
xForwardedProto | string Value of the |
xRequestedWith | string Value of the |
xRealIp | string Value of the |
trueClientIp | string Value of the |
via | string Value of the |
accept | string Value of the |
acceptEncoding | string Value of the |
acceptLanguage | string Value of the |
acceptCharset | string Value of the |
contentType | string Value of the |
contentLength | string Value of the |
cacheControl | string Value of the |
from | string Value of the |
cc | string [ 2 .. 6 ] characters Two-letter country code of the visitor. If omitted, the value will be inferred from the IP address. |
hCaptchaToken | string The For use when processing responses to a served CAPTCHA challenge. |
object For internal use. Omit for manual integrations. | |
log | boolean Default: true For internal use. This should always be 'true'. |
Responses
Request samples
- Payload
- Node + Request
- Shell + Curl
- Shell + Httpie
- Python + Python3
- Php + Curl
- Php + Http1
- Php + Http2
{- "timestamp": 1683643245768,
- "visitorId": {
- "vid": "9a20079bc4597fce683c583c18797156",
- "ip": "203.0.113.0",
- "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
}, - "host": "verifiedvisitors.com",
- "method": "GET",
- "headers": [
- "user-agent",
- "accept",
- "accept-encoding"
], - "connection": "keep-alive",
- "referer": "www.verifiedvisitors.com",
- "origin": "string",
- "pragma": "no-cache",
- "xForwardedFor": "203.0.113.1,192.0.2.0",
- "xForwardedProto": "https",
- "xRequestedWith": "XMLHttpRequest",
- "xRealIp": "203.0.113.0",
- "trueClientIp": "203.0.113.0",
- "via": "1.1 vegur",
- "accept": "text/html",
- "acceptEncoding": "gzip",
- "acceptLanguage": "en-US",
- "acceptCharset": "string",
- "contentType": "text/html",
- "contentLength": "30012",
- "cacheControl": "max-age=604800",
- "cc": "GB",
- "hCaptchaToken": "10000000-aaaa-bbbb-cccc-000000000001",
- "worker": {
- "version": "string"
}, - "log": true
}
Response samples
- 200
- 4XX
{- "action": "captcha",
- "ruleId": 0,
- "captchaSiteKey": "10000000-ffff-ffff-ffff-000000000001",
- "visitorId": "9a20079bc4597fce683c583c18797156",
- "rootDomain": "verifiedvisitors.com"
}