profiles
POST
https://hermeticor.com /v1/profiles/{id}/tags Parameters
idstringpathrequiredRequest body
application/json
tagsstring[]namesstring[]Deprecated: use tags
{
"tags": [
"string"
],
"names": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/tags" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tags":["string"],"names":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"tags": [
"string"
]
}Schema
tagsstring[]required4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/profiles/{id}/tags/{name} Parameters
idstringpathrequirednamestringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/profiles/{id}/tags/{name}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/profiles/count Count profiles matching the same filters as GET /v1/profiles
Parameters
qstringquerytagstringquerytagsAnystringquerytagsAllstringquerylistIdstringqueryemailstringqueryphonestringquerycreatedSincestringquerycreatedBeforestringqueryupdatedSincestringqueryupdatedBeforestringqueryattrKeystringqueryattrOpstringqueryattrValuestringqueryvipstringqueryconsentStatusstringqueryconsentChannelstringqueryconsentSincestringquerytopicIdstringquerycountrystringqueryregionstringquerycitystringquerysegmentIdstringqueryeventNamestringqueryeventSincestringqueryeventBeforestringquerysourcestringqueryarchivedstringquerysortstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/count" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"count": 0
}Schema
countintegerrequiredGET
https://hermeticor.com /v1/profiles/{id}/lists Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/lists" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"lists": [
{
"id": "string",
"name": "string"
}
]
}Schema
listsListsItem[]requiredShow child parameters
idstringrequirednamestringrequiredGET
https://hermeticor.com /v1/profiles/{id}/segments Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/segments" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"segments": [
{
"id": "string",
"name": "string"
}
]
}Schema
segmentsListsItem[]requiredShow child parameters
idstringrequirednamestringrequiredGET
https://hermeticor.com /v1/profiles/{id}/memberships Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/memberships" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"lists": [
{
"id": "string",
"name": "string"
}
],
"segments": [
{
"id": "string",
"name": "string"
}
]
}Schema
listsListsItem[]requiredShow child parameters
idstringrequirednamestringrequiredsegmentsListsItem[]requiredShow child parameters
idstringrequirednamestringrequiredPOST
https://hermeticor.com /v1/profiles/memberships/batch The lists and segments of up to 100 people in one call (unknown people are left out; people outside your lists are refused)
Request body
application/json
profileIdsstring[]required{
"profileIds": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/memberships/batch" \
-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
{
"items": [
{
"profileId": "string",
"lists": [
{
"id": "string",
"name": "string"
}
],
"segments": [
{
"id": "string",
"name": "string"
}
]
}
]
}Schema
itemsobject[]requiredShow child parameters
profileIdstringrequiredlistsListsItem[]requiredShow child parameters
idstringrequirednamestringrequiredsegmentsListsItem[]requiredShow child parameters
idstringrequirednamestringrequiredGET
https://hermeticor.com /v1/profiles/{id}/notes/{noteId} Parameters
idstringpathrequirednoteIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/notes/{noteId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"profileId": "string",
"authorId": "string",
"body": "string",
"kind": "note",
"at": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredprofileIdstringrequiredauthorIdstringrequiredbodystringrequiredkindstringrequiredatstringrequiredupdatedAtstringDELETE
https://hermeticor.com /v1/profiles/{id}/notes/{noteId} Parameters
idstringpathrequirednoteIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/profiles/{id}/notes/{noteId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredUpdated