This is a server to server API. If you need to report events directly from your application's client please see this section or contact your CSM
Generate the authentication signature
To authenticate the API request, generate a Hash-Based Message Authentication Code (HMAC) signature by hashing the entire raw message using SHA-256 and the Devkey as the secret key. Place the resulting signature in the request authentication header.
For example, if the raw message is:
{"timestamp": 1604503583337, "ip": "127.0.0.1", "user_agent": "Roku/DVP-9.21 (AE9.21E04090A)", "device_os_version": "9.3.0", "device_model": "3920X", "device_ids": [{"type": "rida", "value": "fa73d67d-f55c-5af3-883a-726253dc7d0e"}], "limit_ad_tracking": false}
The Devkey is:
w8sZzy8EaPaxFKfaoTqU16
The signature is:
`715b133d5a327b77beb898688a3ad438da0f78071cd3df70e8ec5ecf60751972``