- Go to OptinFlare › Settings › API Keys and click Create New Key.
- Name the key, pick its Permissions among 19 scopes, and set Expires in days (1 to 365, 90 by default) and Requests per minute (1 to 1,000, 60 by default).
- Copy the key and secret: they are shown only once.
Send both headers over HTTPS:
X-OptinFlare-API-Key: osk_…
X-OptinFlare-API-Secret: oss_…A key acts on behalf of its owner and never exceeds their WordPress rights. Over the limit, the API answers 429 with a Retry-After header. Each user can have up to 50 active keys.