analytics
GET
https://hermeticor.com /v1/analytics/content-slots Impressions per dynamic content slot and per matching rule
Parameters
fromstringqueryrequiredtostringqueryrequiredlimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/content-slots?from=<from>&to=<to>" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"key": "string",
"name": "string",
"impressions": 0,
"byRule": [
{
"matched": "string",
"impressions": 0
}
]
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
keystringrequirednamestringrequiredimpressionsintegerrequiredbyRuleobject[]requiredShow child parameters
matchedstringrequiredimpressionsintegerrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/analytics/sources/{kind}/{id}/links Clicks per link for a campaign, journey or sequence; pass stepKey for one action
Parameters
stepKeystringqueryvariantKeystringquerybyVariantstringqueryfromstringquerytostringquerykindstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/sources/{kind}/{id}/links" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"rows": [
{
"url": "string",
"clicks": 0,
"uniqueClicks": 0,
"variantKey": "string"
}
]
}Schema
rowsobject[]requiredShow child parameters
urlstringrequiredclicksintegerrequireduniqueClicksintegerrequiredvariantKeystringGET
https://hermeticor.com /v1/analytics/sources/{kind}/{id}/actions Sent, delivered, bounced, unique opens and clicks per action of a journey or sequence
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagekindstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/sources/{kind}/{id}/actions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"stepKey": "string",
"sent": 0,
"delivered": 0,
"bounced": 0,
"failed": 0,
"openedUnique": 0,
"clickedUnique": 0
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
stepKeystringrequiredsentintegerrequireddeliveredintegerrequiredbouncedintegerrequiredfailedintegerrequiredopenedUniqueintegerrequiredclickedUniqueintegerrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/analytics/deliveries/export Delivery-level export with open and click counts; format=csv returns the CSV text in `csv`
Parameters
sourceKindstringquerysourceIdstringquerystepKeystringquerystatusstringqueryfromstringqueryrequiredtostringqueryrequiredformatstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/deliveries/export?from=<from>&to=<to>" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"profileId": "string",
"channel": "string",
"destination": "string",
"status": "string",
"sourceKind": "string",
"sourceId": "string",
"stepKey": "string",
"variantKey": "string",
"subject": "string",
"sentAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z",
"opens": 0,
"clicks": 0
}
],
"truncated": true,
"csv": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredprofileIdstringrequiredchannelstringrequireddestinationstringrequiredstatusstringrequiredsourceKindstringrequiredsourceIdstringrequiredstepKeystringrequiredvariantKeystringrequiredsubjectstringrequiredsentAtstringrequiredcreatedAtstringrequiredopensintegerrequiredclicksintegerrequiredtruncatedbooleanrequiredcsvstringrequiredGET
https://hermeticor.com /v1/analytics/dashboards Dashboards; ?archived=true lists the archived ones
Parameters
archivedstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/dashboards" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"widgets": [
{
"id": "string",
"reportId": "string",
"title": "string",
"size": "half"
}
],
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"ownerId": null,
"visibility": "shared"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem149[]requiredShow child parameters
idstringrequirednamestringrequiredwidgetsWidgetsItem[]requiredShow child parameters
idstringrequiredreportIdstringrequiredtitlestringsizestringrequiredcreatedAtstringrequiredupdatedAtstringrequiredownerIdstringrequiredvisibilitystringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/analytics/dashboards Request body
application/json
namestringrequiredwidgetsWidgetsItem2[]Show child parameters
reportIdstringrequiredtitlestringsizestring{
"name": "string",
"widgets": []
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/dashboards" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","widgets":[]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"widgets": [
{
"id": "string",
"reportId": "string",
"title": "string",
"size": "half"
}
],
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"ownerId": null,
"visibility": "shared"
}Schema
idstringrequirednamestringrequiredwidgetsWidgetsItem[]requiredShow child parameters
idstringrequiredreportIdstringrequiredtitlestringsizestringrequiredcreatedAtstringrequiredupdatedAtstringrequiredownerIdstringrequiredvisibilitystringrequiredPOST
https://hermeticor.com /v1/analytics/dashboards/batch/archive Request body
application/json
idsstring[]required{
"ids": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/dashboards/batch/archive" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"count": 0
}Schema
countintegerrequiredPOST
https://hermeticor.com /v1/analytics/dashboards/batch/restore Request body
application/json
idsstring[]required{
"ids": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/dashboards/batch/restore" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated