profiles
PATCH
https://hermeticor.com /v1/profiles/{id}/notes/{noteId} Parameters
idstringpathrequirednoteIdstringpathrequiredRequest body
application/json
bodystringrequiredkindstring{
"body": "string",
"kind": "note"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/profiles/{id}/notes/{noteId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string","kind":"note"}'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
idstringrequiredprofileIdstringrequiredauthorIdstringrequiredbodystringrequiredkindstringrequiredatstringrequiredupdatedAtstring4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/profiles/{id}/devices Device records entered by hand for this person (flagged manual; real visits are in the device_* attributes)
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/devices" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"manual": true,
"type": "string",
"os": "string",
"browser": "string",
"brand": "string",
"model": "string",
"at": "2024-01-01T00:00:00Z",
"by": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem27[]requiredShow child parameters
idstringrequiredmanualbooleanrequiredtypestringrequiredosstringbrowserstringbrandstringmodelstringatstringrequiredbystringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/profiles/{id}/devices Add a device record by hand (flagged manual)
Parameters
idstringpathrequiredRequest body
application/json
typestringrequiredosstringbrowserstringbrandstringmodelstring{
"type": "desktop",
"os": "string",
"browser": "string",
"brand": "string",
"model": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/devices" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"desktop","os":"string","browser":"string","brand":"string","model":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"manual": true,
"type": "string",
"os": "string",
"browser": "string",
"brand": "string",
"model": "string",
"at": "2024-01-01T00:00:00Z",
"by": "string"
}Schema
idstringrequiredmanualbooleanrequiredtypestringrequiredosstringbrowserstringbrandstringmodelstringatstringrequiredbystringrequiredDELETE
https://hermeticor.com /v1/profiles/{id}/devices/{deviceId} Parameters
idstringpathrequireddeviceIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/profiles/{id}/devices/{deviceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/profiles/{id}/utm UTM records entered by hand for this person (flagged manual)
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/utm" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"manual": true,
"source": "string",
"medium": "string",
"campaign": "string",
"content": "string",
"term": "string",
"note": "string",
"at": "2024-01-01T00:00:00Z",
"by": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem28[]requiredShow child parameters
idstringrequiredmanualbooleanrequiredsourcestringmediumstringcampaignstringcontentstringtermstringnotestringatstringrequiredbystringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/profiles/{id}/utm Add a UTM record by hand. It is flagged manual and never feeds attribution, first touch or last touch
Parameters
idstringpathrequiredRequest body
application/json
sourcestringmediumstringcampaignstringcontentstringtermstringnotestring{
"source": "string",
"medium": "string",
"campaign": "string",
"content": "string",
"term": "string",
"note": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/utm" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"source":"string","medium":"string","campaign":"string","content":"string","term":"string","note":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"manual": true,
"source": "string",
"medium": "string",
"campaign": "string",
"content": "string",
"term": "string",
"note": "string",
"at": "2024-01-01T00:00:00Z",
"by": "string"
}Schema
idstringrequiredmanualbooleanrequiredsourcestringmediumstringcampaignstringcontentstringtermstringnotestringatstringrequiredbystringrequiredDELETE
https://hermeticor.com /v1/profiles/{id}/utm/{utmId} Parameters
idstringpathrequiredutmIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/profiles/{id}/utm/{utmId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/profiles/by/{idType}/{value} Fetch a profile by id, email, phone, external_id or anonymous_id
Parameters
idTypestringpathrequiredvaluestringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/by/{idType}/{value}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"emailPrimary": "string",
"phonePrimary": "string",
"firstName": "string",
"lastName": "string",
"timezone": "string",
"locale": "string",
"country": "string",
"city": "string",
"region": "string",
"source": "string",
"lifecycleStage": "string",
"ownerUserId": "string",
"attributes": {},
"tags": [
"string"
],
"mergedIntoId": "string",
"archivedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"consentIgnored": [
"email"
]
}Schema
idstringrequiredemailPrimarystringrequiredphonePrimarystringrequiredfirstNamestringrequiredlastNamestringrequiredtimezonestringrequiredlocalestringrequiredcountrystringrequiredcitystringrequiredregionstringrequiredsourcestringrequiredlifecycleStagestringrequiredownerUserIdstringrequiredattributesobjectrequiredtagsstring[]requiredmergedIntoIdstringrequiredarchivedAtstringcreatedAtstringrequiredupdatedAtstringrequiredconsentIgnoredstring[]Updated