content
GET
https://hermetica.15.204.158.166.sslip.io /v1/postal-addresses Saved sender addresses a list can print in its email footer
Parameters
limitintegerquerycursorstringqueryqstringqueryCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/postal-addresses" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"label": "string",
"company": "string",
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postalCode": "string",
"country": "string",
"phone": "string",
"website": "string",
"id": "string",
"createdAt": "2024-01-01T00:00:00Z",
"formatted": "string"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
labelstringrequiredcompanystringrequiredline1stringrequiredline2stringrequiredcitystringrequiredregionstringrequiredpostalCodestringrequiredcountrystringrequiredphonestringrequiredwebsitestringrequiredidstringrequiredcreatedAtstringrequiredformattedstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/postal-addresses Request body
application/json
labelstringrequiredcompanystringline1stringrequiredline2stringcitystringrequiredregionstringpostalCodestringcountrystringrequiredphonestringwebsitestring{
"label": "string",
"company": "string",
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postalCode": "string",
"country": "string",
"phone": "string",
"website": "string"
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/postal-addresses" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"string","company":"string","line1":"string","line2":"string","city":"string","region":"string","postalCode":"string","country":"string","phone":"string","website":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"label": "string",
"company": "string",
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postalCode": "string",
"country": "string",
"phone": "string",
"website": "string",
"id": "string",
"createdAt": "2024-01-01T00:00:00Z",
"formatted": "string"
}Schema
labelstringrequiredcompanystringrequiredline1stringrequiredline2stringrequiredcitystringrequiredregionstringrequiredpostalCodestringrequiredcountrystringrequiredphonestringrequiredwebsitestringrequiredidstringrequiredcreatedAtstringrequiredformattedstringrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/postal-addresses/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/postal-addresses/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermetica.15.204.158.166.sslip.io /v1/postal-addresses/{id} Delete an address; lists that used it print the workspace address again
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermetica.15.204.158.166.sslip.io/v1/postal-addresses/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermetica.15.204.158.166.sslip.io /v1/postal-addresses/{id} Parameters
idstringpathrequiredRequest body
application/json
labelstringcompanystringline1stringline2stringcitystringregionstringpostalCodestringcountrystringphonestringwebsitestring{
"label": "string",
"company": "string",
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postalCode": "string",
"country": "string",
"phone": "string",
"website": "string"
}Code samples
cURL
curl -X PATCH "https://hermetica.15.204.158.166.sslip.io/v1/postal-addresses/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"string","company":"string","line1":"string","line2":"string","city":"string","region":"string","postalCode":"string","country":"string","phone":"string","website":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermetica.15.204.158.166.sslip.io /v1/templates/import-zip Create an HTML email template from a theme ZIP (multipart field "file"): one HTML page plus its images. Images become library assets; scripts are stripped
Parameters
namestringqueryrequiredCode samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/templates/import-zip?name=<name>" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"workspaceId": "string",
"channel": "email",
"name": "string",
"kind": "blocks",
"folder": "string",
"tags": [
"string"
],
"currentVersionId": "string",
"archived": true,
"folderId": "string",
"brandKitId": "string",
"isDefault": false,
"topicId": null,
"createdBy": null,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"zip": {
"htmlFile": "string",
"imagesHosted": 0,
"imagesSkipped": [
"string"
]
}
}Schema
idstringrequiredworkspaceIdstringrequiredchannelstringrequirednamestringrequiredkindstringrequiredfolderstringrequiredtagsstring[]requiredcurrentVersionIdstringrequiredarchivedbooleanrequiredfolderIdstringrequiredbrandKitIdstringrequiredisDefaultbooleanrequiredtopicIdstringrequiredcreatedBystringrequiredcreatedAtstringrequiredupdatedAtstringrequiredzipobjectrequiredShow child parameters
htmlFilestringrequiredimagesHostednumberrequiredimagesSkippedstring[]requiredGET
https://hermetica.15.204.158.166.sslip.io /v1/brand-kits/{id}/voice How the brand sounds and which competitors it is compared with
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/brand-kits/{id}/voice" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"tone": "string",
"competitors": [
"string"
],
"toneDescriptors": [
"string"
],
"languagePatterns": [
"string"
]
}Schema
tonestringrequiredcompetitorsstring[]requiredtoneDescriptorsstring[]requiredlanguagePatternsstring[]requiredPUT
https://hermetica.15.204.158.166.sslip.io /v1/brand-kits/{id}/voice Parameters
idstringpathrequiredRequest body
application/json
tonestringcompetitorsstring[]toneDescriptorsstring[]languagePatternsstring[]{
"tone": "string",
"competitors": [
"string"
],
"toneDescriptors": [
"string"
],
"languagePatterns": [
"string"
]
}Code samples
cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/brand-kits/{id}/voice" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tone":"string","competitors":["string"],"toneDescriptors":["string"],"languagePatterns":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated