lists
POST
https://hermeticor.com /v1/lists/{id}/members Parameters
idstringpathrequiredRequest body
application/json
profileIdsstring[]required{
"profileIds": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/lists/{id}/members" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"profileIds":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"changed": [
"string"
]
}Schema
changedstring[]required4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/lists/{id}/size-history List size at the end of each of the last N days, or of each day between `from` and `to`
Parameters
daysintegerqueryfromstringquerytostringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/lists/{id}/size-history" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"day": "string",
"size": 0,
"added": 0,
"removed": 0
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
daystringrequiredsizeintegerrequiredaddedintegerrequiredremovedintegerrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/lists/{id}/members-by-join Members oldest-joined first, with join time and source
Parameters
limitintegerquerycursorstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/lists/{id}/members-by-join" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"listId": "string",
"profileId": "string",
"meta": {},
"addedAt": "2024-01-01T00:00:00Z",
"source": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem5[]requiredShow child parameters
listIdstringrequiredprofileIdstringrequiredmetaobjectrequiredaddedAtstringrequiredsourcestringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/lists/{id}/members/{profileId} The data stored on one membership
Parameters
idstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/lists/{id}/members/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"listId": "string",
"profileId": "string",
"meta": {},
"addedAt": "2024-01-01T00:00:00Z",
"source": "string"
}Schema
listIdstringrequiredprofileIdstringrequiredmetaobjectrequiredaddedAtstringrequiredsourcestringrequiredDELETE
https://hermeticor.com /v1/lists/{id}/members/{profileId} Parameters
reasonstringqueryidstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/lists/{id}/members/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/lists/{id}/members/{profileId}/meta Replace the data stored on one membership
Parameters
idstringpathrequiredprofileIdstringpathrequiredRequest body
application/json
metaobjectrequired{
"meta": {}
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/lists/{id}/members/{profileId}/meta" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"meta":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/lists/{id}/opt-in Request double opt-in: emails a confirmation link; the person joins the list and is granted consent only when they confirm
Parameters
idstringpathrequiredRequest body
application/json
emailstringrequiredfirstNamestringlastNamestringconsentTextstringrequiredconsentVersionstringpageUrlstringconnectionIdstring{
"email": "string",
"firstName": "string",
"lastName": "string",
"consentText": "string",
"consentVersion": "string",
"pageUrl": "string",
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/lists/{id}/opt-in" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"string","firstName":"string","lastName":"string","consentText":"string","consentVersion":"string","pageUrl":"string","connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"status": "pending",
"profileId": "string"
}Schema
statusstringrequiredprofileIdstringrequiredGET
https://hermeticor.com /v1/lists/{id}/pending People who asked to join a double opt-in list and have not confirmed yet
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/lists/{id}/pending" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"profileId": "string",
"email": "string",
"requestedAt": "2024-01-01T00:00:00Z",
"expiresAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
profileIdstringrequiredemailstringrequiredrequestedAtstringrequiredexpiresAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/lists/{id}/pending/resend Re-send the confirmation email to everyone still waiting (up to 500); suppressed or withdrawn people are skipped
Parameters
idstringpathrequiredRequest body
application/json
connectionIdstring{
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/lists/{id}/pending/resend" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"sent": 0,
"skipped": 0
}Schema
sentintegerrequiredskippedintegerrequiredGET
https://hermeticor.com /l/c/{*} List double opt-in confirmation page (does not change state)
Parameters
*stringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/l/c/{*}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
Updated