engagement
PATCH
https://hermeticor.com /v1/newsletter/engagement/replies/{id} Mark a reply read or archived
Parameters
idstringpathrequiredRequest body
application/json
readbooleanarchivedboolean{
"read": true,
"archived": true
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/newsletter/engagement/replies/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"read":true,"archived":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /e/widget.js Embed script: turns <div data-hermetica-comments="workspace/post"> into the comments widget
Code samples
cURL
curl -X GET "https://hermeticor.com/e/widget.js"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /e/c/{ws}/{postId} Comments and reactions for a post (server-rendered, embeddable)
Parameters
tstringquerywsstringpathrequiredpostIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/e/c/{ws}/{postId}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /e/c/{ws}/{postId} Comment, reply, edit, delete, like or react (form post, reader token required)
Parameters
wsstringpathrequiredpostIdstringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X POST "https://hermeticor.com/e/c/{ws}/{postId}" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /e/link/{ws}/{kind}/{id} Email a sign-in link (same reply whether or not the address is known)
Parameters
wsstringpathrequiredidstringpathrequiredkindstringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X POST "https://hermeticor.com/e/link/{ws}/{kind}/{id}" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /e/poll/{ws}/{id} Hosted poll page
Parameters
tstringquerywsstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/e/poll/{ws}/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /e/survey/{ws}/{id} Hosted survey page
Parameters
tstringquerywsstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/e/survey/{ws}/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /e/survey/{ws}/{id} Submit (or change) survey answers
Parameters
wsstringpathrequiredidstringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X POST "https://hermeticor.com/e/survey/{ws}/{id}" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /e/s/{ws}/{token} Anonymous survey link: a blank form (never earlier answers or results)
Parameters
wsstringpathrequiredtokenstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/e/s/{ws}/{token}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /e/s/{ws}/{token} Submit answers through the anonymous survey link
Parameters
wsstringpathrequiredtokenstringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X POST "https://hermeticor.com/e/s/{ws}/{token}" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /e/results/{ws}/{id} Poll results page
Parameters
wsstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/e/results/{ws}/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /e/v/{poll}/{opt}/{*} Poll option link from an email: confirmation page (changes nothing until posted)
Parameters
pollstringpathrequiredoptstringpathrequired*stringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/e/v/{poll}/{opt}/{*}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /e/v/{poll}/{opt}/{*} Record a poll vote from an email link (one per reader, changeable)
Parameters
pollstringpathrequiredoptstringpathrequired*stringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/e/v/{poll}/{opt}/{*}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
Updated