templates
POST
https://hermeticor.com /v1/assets Upload a file (multipart field "file", optional fields folderId, filename, access first). Images up to 5 MB; other allowed types (Settings > Media) up to 25 MB
Code samples
cURL
curl -X POST "https://hermeticor.com/v1/assets" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"filename": "string",
"contentType": "string",
"bytes": 0,
"width": 0,
"height": 0,
"url": "string",
"thumbUrl": null,
"altText": "string",
"folderId": "string",
"language": "string",
"tags": [],
"scanStatus": "unscanned",
"access": "public_indexable",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredfilenamestringrequiredcontentTypestringrequiredbytesnumberrequiredwidthnumberrequiredheightnumberrequiredurlstringrequiredthumbUrlstringrequiredaltTextstringrequiredfolderIdstringrequiredlanguagestringrequiredtagsstring[]requiredscanStatusstringrequiredaccessstringrequiredcreatedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/assets/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/assets/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/assets/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/assets/{id}" \
-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/assets/{id} Parameters
idstringpathrequiredRequest body
application/json
filenamestringaltTextstringfolderIdstringlanguagestringtagsstring[]accessstring{
"filename": "string",
"altText": "string",
"folderId": "string",
"language": "string",
"tags": [
"string"
],
"access": "public_indexable"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/assets/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filename":"string","altText":"string","folderId":"string","language":"string","tags":["string"],"access":"public_indexable"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/tracking-domains Parameters
limitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tracking-domains" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"domain": "string",
"status": "pending",
"cnameTarget": "string",
"verifiedAt": "2024-01-01T00:00:00Z",
"lastCheckedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem36[]requiredShow child parameters
idstringrequireddomainstringrequiredstatusstringrequiredcnameTargetstringrequiredverifiedAtstringrequiredlastCheckedAtstringrequiredlastErrorstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/tracking-domains Request body
application/json
domainstringrequired{
"domain": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/tracking-domains" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"domain": "string",
"status": "pending",
"cnameTarget": "string",
"verifiedAt": "2024-01-01T00:00:00Z",
"lastCheckedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequireddomainstringrequiredstatusstringrequiredcnameTargetstringrequiredverifiedAtstringrequiredlastCheckedAtstringrequiredlastErrorstringrequiredcreatedAtstringrequiredPOST
https://hermeticor.com /v1/tracking-domains/{id}/verify Queue a CNAME verification
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/tracking-domains/{id}/verify" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/tracking-domains/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tracking-domains/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/tracking-domains/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/tracking-domains/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/templates/{id}/test-send Send the current version of a template to a seed list
Parameters
idstringpathrequiredRequest body
application/json
seedListIdstringrequiredconnectionIdstringrequiredpurposestring{
"seedListId": "string",
"connectionId": "string",
"purpose": "marketing"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/templates/{id}/test-send" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"seedListId":"string","connectionId":"string","purpose":"marketing"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"sent": 0,
"blocked": 0,
"jobIds": [
"string"
]
}Schema
sentintegerrequiredblockedintegerrequiredjobIdsstring[]requiredUpdated