Submissions by outcome over the last N days (1 to 90, default 7) and 24 h rejections (reports.read)
GET
/v1/forms/{form}/stats
const url = 'https://api.replifier.com/v1/forms/frm_01hx0000000000000000000000/stats';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/forms/frm_01hx0000000000000000000000/statsParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”form
required
string
Example
frm_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”days
string
Responses
Section titled “Responses”Statistics
Media typeapplication/json
object
days
required
number
total
required
number
byOutcome
required
object
key
additional properties
number
conversionRate
required
New sign-ups (created + resubscribed + pending_confirmation) over accepted submissions; 0 if there are none
number
rejectionsLast24h
required
Rejections before the queue (Turnstile, honeypot, limits, email) in the last 24 h, by type; approximate counters
object
key
additional properties
number
Example generated
{ "days": 1, "total": 1, "byOutcome": { "additionalProperty": 1 }, "conversionRate": 1, "rejectionsLast24h": { "additionalProperty": 1 }}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}