OptinMonster REST API
The OptinMonster application REST API. Versioned path segments (`/v1`, `/v2`) sit on api.optinmonster.com and cover campaigns, leads, sites, site origins, integrations, account, revenue attribution and the public template catalog. Authenticated with an account API key supplied in the `X-OptinMonster-ApiKey` header (legacy `omapi-key` + user pairing is still accepted). Responses are JSON; errors use a consistent `{error, code, message, status}` envelope with numeric OptinMonster codes.