analytics
GET
https://hermeticor.com /v1/benchmarks/flows Peer benchmarks (flows): your last 90 days against peer percentiles, falling back to a labelled static reference table
Parameters
industrystringquerysizestringqueryregionstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/benchmarks/flows" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"section": "overview",
"optedIn": true,
"days": 0,
"currency": "string",
"requested": {
"industry": "string",
"size": "string",
"region": "string"
},
"metrics": [
{
"key": "string",
"unit": "rate",
"lowerIsBetter": true,
"yours": 0,
"source": "network",
"peers": {
"p10": 0,
"p25": 0,
"p50": 0,
"p75": 0,
"p90": 0,
"mean": 0
},
"rank": 0,
"status": "poor",
"peerGroup": {
"cohort": "string",
"contributors": 0,
"rolledUp": [
"string"
]
},
"fx": {
"currency": "string",
"rateDate": "string"
},
"reference": {
"low": 0,
"high": 0,
"verdict": "below"
}
}
],
"summary": {
"poor": 0,
"fair": 0,
"good": 0,
"excellent": 0,
"unranked": 0
},
"notice": "string",
"staticDataset": {
"version": "string",
"note": "string"
}
}Schema
sectionstringrequiredoptedInbooleanrequireddaysintegerrequiredcurrencystringrequiredrequestedobjectrequiredShow child parameters
industrystringrequiredsizestringrequiredregionstringrequiredmetricsMetricsItem[]requiredShow child parameters
keystringrequiredunitstringrequiredlowerIsBetterbooleanrequiredyoursnumberrequiredsourcestringrequiredpeersobjectrequiredShow child parameters
p10numberrequiredp25numberrequiredp50numberrequiredp75numberrequiredp90numberrequiredmeannumberrequiredrankintegerrequiredstatusstringrequiredpeerGroupobjectrequiredShow child parameters
cohortstringrequiredcontributorsintegerrequiredrolledUpstring[]requiredfxobjectShow child parameters
currencystringrequiredrateDatestringrequiredreferenceobjectrequiredShow child parameters
lownumberrequiredhighnumberrequiredverdictstringrequiredsummaryobjectrequiredShow child parameters
poorintegerrequiredfairintegerrequiredgoodintegerrequiredexcellentintegerrequiredunrankedintegerrequirednoticestringrequiredstaticDatasetobjectrequiredShow child parameters
versionstringrequirednotestringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/benchmarks/forms Peer benchmarks (forms): your last 90 days against peer percentiles, falling back to a labelled static reference table
Parameters
industrystringquerysizestringqueryregionstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/benchmarks/forms" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/benchmarks/sms Peer benchmarks (sms): your last 90 days against peer percentiles, falling back to a labelled static reference table
Parameters
industrystringquerysizestringqueryregionstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/benchmarks/sms" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/analytics/record-sources Report builder record sources (contacts, companies, form results, page hits, asset downloads, workflow log, point log, frequency rules) and their columns
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/record-sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"source": "contacts",
"columns": [
"string"
],
"available": true
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
sourcestringrequiredcolumnsstring[]requiredavailablebooleanrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/analytics/records/run Run a record-source report without saving it: pick columns, filter, order and limit
Request body
application/json
kindstringrequiredsourcestringrequiredfromstringrequiredtostringrequiredcolumnsstring[]requiredfiltersFiltersItem6[]Show child parameters
columnstringrequiredopstringrequiredvaluestringorderByobjectShow child parameters
columnstringrequireddirstringlimitinteger{
"kind": "records",
"source": "contacts",
"from": "string",
"to": "string",
"columns": [
"string"
],
"filters": [],
"orderBy": {
"column": "string",
"dir": "desc"
},
"limit": 500
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/records/run" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"records","source":"contacts","from":"string","to":"string","columns":["string"],"filters":[],"orderBy":{"column":"string","dir":"desc"},"limit":500}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"source": "contacts",
"columns": [
"string"
],
"rows": [
{}
],
"truncated": true
}Schema
sourcestringrequiredcolumnsstring[]requiredrowsobject[]requiredtruncatedbooleanrequiredPOST
https://hermeticor.com /v1/exports/message-events Every message event (delivered, open, click, bounce ...) with its message, as CSV (poll GET /v1/exports/:id)
Request body
application/json
fromstringtostringchannelstringnotifyEmailstring{
"from": "2024-01-01T00:00:00Z",
"to": "2024-01-01T00:00:00Z",
"channel": "email",
"notifyEmail": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/exports/message-events" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"2024-01-01T00:00:00Z","to":"2024-01-01T00:00:00Z","channel":"email","notifyEmail":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"id": "string",
"kind": "bulk",
"op": "string",
"status": "queued",
"progress": {
"total": 0,
"processed": 0,
"failed": 0
},
"error": "string",
"downloadUrl": "string",
"failures": [
{
"profileId": "string",
"message": "string"
}
],
"createdAt": "2024-01-01T00:00:00Z",
"finishedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequiredopstringrequiredstatusstringrequiredprogressobjectrequiredShow child parameters
totalintegerrequiredprocessedintegerrequiredfailedintegerrequirederrorstringrequireddownloadUrlstringfailuresFailuresItem[]Show child parameters
profileIdstringrequiredmessagestringrequiredcreatedAtstringrequiredfinishedAtstringrequiredPOST
https://hermeticor.com /v1/exports/clicks Every human link click with its message and URL, as CSV (poll GET /v1/exports/:id)
Request body
application/json
fromstringtostringchannelstringnotifyEmailstring{
"from": "2024-01-01T00:00:00Z",
"to": "2024-01-01T00:00:00Z",
"channel": "email",
"notifyEmail": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/exports/clicks" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"2024-01-01T00:00:00Z","to":"2024-01-01T00:00:00Z","channel":"email","notifyEmail":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated