Read Sample PHP code for the Detect API End Point. This will show you how to gather all the necessary HTTP headers from your visitors and send them to the API to detect their browser, operating system, operating platform, hardware type, risk profile, and so on.