Skip to main content
POST
Creates the authenticated account’s log row for a G2 review campaign on the Management API host (api.scanova.io), authenticated with your raw Management API key.
integer
required
The campaign’s id, from GET /campaign/active/.
string
ISO 8601 timestamp of when the popup was shown to the user.
string
ISO 8601 timestamp of when the user dismissed the popup without submitting.
string
ISO 8601 timestamp of when the user clicked through to leave a review.

One row per campaign

There’s exactly one log row per (account, campaign) pair. If this account already has a row for the g2_campaign you passed, this call returns 400 with a plain-text error message (not the usual field-level validation-error shape) — switch to Update your campaign log instead of retrying the create.

Authorizations

Authorization
string
header
required

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

Body

application/json
g2_campaign
integer
required

The campaign's id, from GET /campaign/active/.

last_shown
string<date-time>
last_dismissed
string<date-time>
last_submitted
string<date-time>

Response

Log row created.