pipelines
POST
https://hermeticor.com /v1/pipelines/{type} identify, track, page, screen, group or alias
Parameters
typestringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/pipelines/{type}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"accepted": 0,
"rejected": [
{
"index": 0,
"reason": "string"
}
]
}Schema
acceptedintegerrequiredrejectedRejectedItem[]requiredShow child parameters
indexintegerrequiredreasonstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/pipelines/posthog PostHog capture-format events, batch or person export: events become track/page, persons and $identify become identify
Request body
application/json
Example
[
{
"event": "string",
"distinct_id": "string",
"properties": {},
"timestamp": "string",
"uuid": "string"
}
]PostV1PipelinesPosthogBodyVariant
eventstringdistinct_idstringrequiredpropertiesobjecttimestampstringuuidstring[
{
"event": "string",
"distinct_id": "string",
"properties": {},
"timestamp": "string",
"uuid": "string"
}
]Option 2
batchPostV1PipelinesPosthogBodyVariantItem[]requiredShow child parameters
eventstringdistinct_idstringrequiredpropertiesobjecttimestampstringuuidstring{
"batch": [
{
"event": "string",
"distinct_id": "string",
"properties": {},
"timestamp": "string",
"uuid": "string"
}
]
}PostV1PipelinesPosthogBodyVariantItem
eventstringdistinct_idstringrequiredpropertiesobjecttimestampstringuuidstring{
"event": "string",
"distinct_id": "string",
"properties": {},
"timestamp": "string",
"uuid": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/pipelines/posthog" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '[{"event":"string","distinct_id":"string","properties":{},"timestamp":"string","uuid":"string"}]'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/pipelines/batch Mixed batch of identify/track/page/screen/group/alias calls; bad calls are rejected by index, the rest land
Request body
application/json
batchobject[]required{
"batch": [
{}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/pipelines/batch" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"batch":[{}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v2/entity Unified entity call for people and objects: identify, event, page, screen, delete, merge, add/delete relationships
Request body
application/json
typestringrequiredidentifiersobjectrequiredShow child parameters
idstringemailstringphonestringanonymousIdstringobjectTypestringobjectIdstringactionstringrequirednamestringattributesobjecttimestampstringmessageIdstringprimaryobjectShow child parameters
idstringemailstringphonestringanonymousIdstringobjectTypestringobjectIdstringrelationshipsobject[]Show child parameters
objectTypestringrequiredobjectIdstringrequiredkindstring{
"type": "person",
"identifiers": {
"id": "string",
"email": "string",
"phone": "string",
"anonymousId": "string",
"objectType": "string",
"objectId": "string"
},
"action": "identify",
"name": "string",
"attributes": {},
"timestamp": "2024-01-01T00:00:00Z",
"messageId": "string",
"primary": {
"id": "string",
"email": "string",
"phone": "string",
"anonymousId": "string",
"objectType": "string",
"objectId": "string"
},
"relationships": [
{
"objectType": "string",
"objectId": "string",
"kind": "string"
}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v2/entity" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"person","identifiers":{"id":"string","email":"string","phone":"string","anonymousId":"string","objectType":"string","objectId":"string"},"action":"identify","name":"string","attributes":{},"timestamp":"2024-01-01T00:00:00Z","messageId":"string","primary":{"id":"string","email":"string","phone":"string","anonymousId":"string","objectType":"string","objectId":"string"},"relationships":[{"objectType":"string","objectId":"string","kind":"string"}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPOST
https://hermeticor.com /v2/batch Request body
application/json
requestsobject[]required{
"requests": [
{}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v2/batch" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"requests":[{}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/pipelines/rudderstack RudderStack-format events (single or batch): use as a webhook destination in RudderStack
Request body
application/json
Example
{
"batch": [
{
"type": "identify"
}
]
}Option 1
batchobject[]requiredShow child parameters
typestringrequired{
"batch": [
{
"type": "identify"
}
]
}Option 2
typestringrequired{
"type": "identify"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/pipelines/rudderstack" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"batch":[{"type":"identify"}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated