campaigns
GET
https://hermeticor.com /v1/campaigns/{id}/send-job Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/campaigns/{id}/send-job" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"status": "string",
"startedAt": "2024-01-01T00:00:00Z",
"completedAt": "2024-01-01T00:00:00Z",
"recipients": 0,
"byStatus": {}
}Schema
idstringrequiredstatusstringrequiredstartedAtstringrequiredcompletedAtstringrequiredrecipientsintegerrequiredbyStatusobjectrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/campaigns/{id}/recipients Parameters
limitintegerquerycursorstringquerystatusstringqueryengagedstringqueryqstringquerylinkUrlstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/campaigns/{id}/recipients" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"profileId": "string",
"destination": "string",
"status": "string",
"sentAt": "2024-01-01T00:00:00Z",
"opens": 0,
"clicks": 0,
"unsubscribed": true,
"bounced": true,
"complained": true,
"lastActivityAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
profileIdstringrequireddestinationstringrequiredstatusstringrequiredsentAtstringrequiredopensintegerrequiredclicksintegerrequiredunsubscribedbooleanrequiredbouncedbooleanrequiredcomplainedbooleanrequiredlastActivityAtstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/campaigns/{id}/recipients.csv Parameters
statusstringqueryengagedstringqueryqstringquerylinkUrlstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/campaigns/{id}/recipients.csv" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}GET
https://hermeticor.com /v1/campaigns/{id}/recipients/{profileId}/activity Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/campaigns/{id}/recipients/{profileId}/activity" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"kind": "string",
"url": "string",
"at": "2024-01-01T00:00:00Z",
"isMachine": true
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
kindstringrequiredurlstringrequiredatstringrequiredisMachinebooleanrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/campaigns/{id}/feedback Parameters
limitintegerquerycursorstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/campaigns/{id}/feedback" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"campaignId": "string",
"parentId": "string",
"authorId": "string",
"body": "string",
"resolved": true,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem59[]requiredShow child parameters
idstringrequiredcampaignIdstringrequiredparentIdstringrequiredauthorIdstringrequiredbodystringrequiredresolvedbooleanrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/campaigns/{id}/feedback Parameters
idstringpathrequiredRequest body
application/json
bodystringrequiredparentIdstring{
"body": "string",
"parentId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/campaigns/{id}/feedback" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string","parentId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"campaignId": "string",
"parentId": "string",
"authorId": "string",
"body": "string",
"resolved": true,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredcampaignIdstringrequiredparentIdstringrequiredauthorIdstringrequiredbodystringrequiredresolvedbooleanrequiredcreatedAtstringrequiredGET
https://hermeticor.com /v1/campaigns/{id}/feedback/{feedbackId} Parameters
idstringpathrequiredfeedbackIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/campaigns/{id}/feedback/{feedbackId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/campaigns/{id}/feedback/{feedbackId} Parameters
idstringpathrequiredfeedbackIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/campaigns/{id}/feedback/{feedbackId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/campaigns/{id}/feedback/{feedbackId} Parameters
idstringpathrequiredfeedbackIdstringpathrequiredRequest body
application/json
bodystringresolvedboolean{
"body": "string",
"resolved": true
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/campaigns/{id}/feedback/{feedbackId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string","resolved":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated