statsig-api-key
header. All API requests use the POST
method, and parameters are set by passing a JSON object in the request body.
POST
? Even for fetching data, we use POST
to ensure secure and flexible transmission of user-specific data (e.g., configurations or experiment results).
NOTE: STATSIG-CLIENT-TIME
is required to normalize the timestamp for events against server time. Without it, you may see inconsistent timestamps for client SDKs with varying client clocks. Here’s an example from one of our SDKs.