cURL
curl --request POST \ --url https://api.deflect.bot/verify \ --header 'Content-Type: application/json' \ --data ' { "api_key": "<string>", "action_id": "<string>", "token": "<string>" } '
{ "success": true, "verdict": { "can_pass": true }, "device": { "fingerprint": "<string>", "user_agent": "<string>", "languages": "<string>", "timezone": "<string>", "os": "<string>", "is_mobile": true }, "ip": { "address": "<string>", "type": "<string>", "is_datacenter": true, "is_proxy": true, "is_tor": true, "is_vpn": true, "is_threat": true, "is_bogon": true, "asn": "<string>", "asn_number": 123 }, "location": { "city": "<string>", "postal_code": "<string>", "country": "<string>", "continent": "<string>", "latitude": 123, "longitude": 123 }, "session": { "started_at": "2023-11-07T05:31:56Z", "finished_at": "2023-11-07T05:31:56Z" } }
Fetch bot verdict for a user session token
can_pass: true/false
t/FFFFFFFFFFFFF/111111111
can_pass: true
t/FFFFFFFFFFFFF/000000000
can_pass: false
Plant to add to the store
Your Deflect API Key
Your Deflect Action ID
The user session token from the protected endpoint.
Successful response
Show child attributes