Endpoints
POST
https://hermetica.15.204.158.166.sslip.io /v1/events Request body
application/json
namestringrequiredoccurredAtstringpropertiesobjectvalueintegeramountnumbercurrencystringdedupeKeystringprofileobjectShow child parameters
emailstringphonestringexternalIdstringfirstNamestringlastNamestringlocalestringlocationobjectShow child parameters
citystringregionstringcountrystringzipstringaddress1stringlatitudenumberlongitudenumbertimezonestringattributesobjectcorrelationKeystringcorrelationValuestring | numberanonymousIdstringcontextobjectShow child parameters
pageobjectShow child parameters
urlstringreferrerstringtitlestringuserAgentstringipstringutmobject{
"name": "string",
"occurredAt": "2024-01-01T00:00:00Z",
"properties": {},
"value": 0,
"amount": 0,
"currency": "string",
"dedupeKey": "string",
"profile": {
"email": "string",
"phone": "string",
"externalId": "string",
"firstName": "string",
"lastName": "string",
"locale": "string",
"location": {
"city": "string",
"region": "string",
"country": "string",
"zip": "string",
"address1": "string",
"latitude": 0,
"longitude": 0,
"timezone": "string"
},
"attributes": {}
},
"correlationKey": "string",
"correlationValue": "string",
"anonymousId": "string",
"context": {
"page": {
"url": "string",
"referrer": "string",
"title": "string"
},
"userAgent": "string",
"ip": "string",
"utm": {}
}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/events" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","occurredAt":"2024-01-01T00:00:00Z","properties":{},"value":0,"amount":0,"currency":"string","dedupeKey":"string","profile":{"email":"string","phone":"string","externalId":"string","firstName":"string","lastName":"string","locale":"string","location":{"city":"string","region":"string","country":"string","zip":"string","address1":"string","latitude":0,"longitude":0,"timezone":"string"},"attributes":{}},"correlationKey":"string","correlationValue":"string","anonymousId":"string","context":{"page":{"url":"string","referrer":"string","title":"string"},"userAgent":"string","ip":"string","utm":{}}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"accepted": 0,
"duplicates": 0,
"rejected": [
{
"index": 0,
"reason": "string"
}
]
}Schema
acceptedintegerrequiredduplicatesintegerrequiredrejectedobject[]requiredShow child parameters
indexintegerrequiredreasonstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/events/batch Request body
application/json
eventsobject[]requiredconsentobjectShow child parameters
analyticsbooleanmarketingboolean{
"events": [
{}
],
"consent": {
"analytics": true,
"marketing": true
}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/events/batch" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"events":[{}],"consent":{"analytics":true,"marketing":true}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermetica.15.204.158.166.sslip.io /v1/events/batch/items Same as /v1/events/batch, plus a status for every submitted event by position (a duplicate counts as stored: it was already there)
Request body
application/json
eventsobject[]requiredconsentobjectShow child parameters
analyticsbooleanmarketingboolean{
"events": [
{}
],
"consent": {
"analytics": true,
"marketing": true
}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/events/batch/items" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"events":[{}],"consent":{"analytics":true,"marketing":true}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"accepted": 0,
"duplicates": 0,
"rejected": [
{
"index": 0,
"reason": "string"
}
],
"items": [
{
"index": 0,
"status": "stored",
"reason": "string"
}
]
}Schema
acceptedintegerrequiredduplicatesintegerrequiredrejectedobject[]requiredShow child parameters
indexintegerrequiredreasonstringrequireditemsobject[]requiredShow child parameters
indexintegerrequiredstatusstringrequiredreasonstringPOST
https://hermetica.15.204.158.166.sslip.io /v1/identify Request body
application/json
anonymousIdstringrequiredidentifiersobjectrequiredShow child parameters
emailstringphonestringexternalIdstringtraitsobjectconsentobjectShow child parameters
analyticsbooleanmarketingboolean{
"anonymousId": "string",
"identifiers": {
"email": "string",
"phone": "string",
"externalId": "string"
},
"traits": {},
"consent": {
"analytics": true,
"marketing": true
}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/identify" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"anonymousId":"string","identifiers":{"email":"string","phone":"string","externalId":"string"},"traits":{},"consent":{"analytics":true,"marketing":true}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"profileId": "string",
"created": true
}Schema
profileIdstringrequiredcreatedbooleanrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/events/settings Whether server-side event ingest is on, and the custom field used as each person's primary key
Code samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/events/settings" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"serverIngestEnabled": true,
"primaryKeyAttribute": "string"
}Schema
serverIngestEnabledbooleanrequiredprimaryKeyAttributestringrequiredPUT
https://hermetica.15.204.158.166.sslip.io /v1/events/settings Turn server-side event ingest on or off (callers get 412 while off, nothing is dropped silently), or set the primary-key field
Request body
application/json
serverIngestEnabledbooleanprimaryKeyAttributestring{
"serverIngestEnabled": true,
"primaryKeyAttribute": "string"
}Code samples
cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/events/settings" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"serverIngestEnabled":true,"primaryKeyAttribute":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermetica.15.204.158.166.sslip.io /v1/event-definitions Code samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/event-definitions" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"category": "standard",
"schema": {},
"enforce": true,
"goal": true,
"firstSeenAt": "2024-01-01T00:00:00Z",
"lastSeenAt": "2024-01-01T00:00:00Z"
}
]
}Schema
itemsobject[]requiredShow child parameters
idstringrequirednamestringrequiredcategorystringrequiredschemaobjectrequiredenforcebooleanrequiredgoalbooleanrequiredfirstSeenAtstringrequiredlastSeenAtstringrequiredPOST
https://hermetica.15.204.158.166.sslip.io /v1/event-definitions Declare an event (and optionally its properties) before it is first sent
Request body
application/json
namestringrequiredschemaobject{
"name": "string",
"schema": {}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/event-definitions" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","schema":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"category": "standard",
"schema": {},
"enforce": true,
"goal": true,
"firstSeenAt": "2024-01-01T00:00:00Z",
"lastSeenAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredcategorystringrequiredschemaobjectrequiredenforcebooleanrequiredgoalbooleanrequiredfirstSeenAtstringrequiredlastSeenAtstringrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/event-definitions/{name} Parameters
namestringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/event-definitions/{name}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated