Endpoints
POST
https://hermetica.15.204.158.166.sslip.io /ingest/v1/segment Segment/RudderStack-compatible track, identify, page
Request body
application/json
typestringrequiredeventstringnamestringuserIdstringanonymousIdstringmessageIdstringtimestampstringpropertiesobjecttraitsobjectcontextobjectShow child parameters
traitsobjectuserAgentstringipstringpageobjectconsentobjectShow child parameters
analyticsbooleanmarketingboolean{
"type": "track",
"event": "string",
"name": "string",
"userId": "string",
"anonymousId": "string",
"messageId": "string",
"timestamp": "string",
"properties": {},
"traits": {},
"context": {
"traits": {},
"userAgent": "string",
"ip": "string",
"page": {}
},
"consent": {
"analytics": true,
"marketing": true
}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/ingest/v1/segment" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"track","event":"string","name":"string","userId":"string","anonymousId":"string","messageId":"string","timestamp":"string","properties":{},"traits":{},"context":{"traits":{},"userAgent":"string","ip":"string","page":{}},"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"
}
],
"profileId": "string"
}Schema
acceptedintegerrequiredduplicatesintegerrequiredrejectedobject[]requiredShow child parameters
indexintegerrequiredreasonstringrequiredprofileIdstring4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermetica.15.204.158.166.sslip.io /v1/roles Code samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/roles" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
[
{
"name": "string",
"baseRole": "admin",
"grant": [],
"deny": [],
"restrictions": {},
"id": "string",
"scopes": [
"string"
]
}
]Schema
namestringrequiredbaseRolestringrequiredgrantstring[]requireddenystring[]requiredrestrictionsobjectrequiredidstringrequiredscopesstring[]requiredPOST
https://hermetica.15.204.158.166.sslip.io /v1/roles Request body
application/json
namestringrequiredbaseRolestringrequiredgrantstring[]denystring[]restrictionsobject{
"name": "string",
"baseRole": "admin",
"grant": [],
"deny": [],
"restrictions": {}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/roles" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","baseRole":"admin","grant":[],"deny":[],"restrictions":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"name": "string",
"baseRole": "admin",
"grant": [],
"deny": [],
"restrictions": {},
"id": "string",
"scopes": [
"string"
]
}Schema
namestringrequiredbaseRolestringrequiredgrantstring[]requireddenystring[]requiredrestrictionsobjectrequiredidstringrequiredscopesstring[]requiredPUT
https://hermetica.15.204.158.166.sslip.io /v1/roles/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringrequiredbaseRolestringrequiredgrantstring[]denystring[]restrictionsobject{
"name": "string",
"baseRole": "admin",
"grant": [],
"deny": [],
"restrictions": {}
}Code samples
cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/roles/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","baseRole":"admin","grant":[],"deny":[],"restrictions":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermetica.15.204.158.166.sslip.io /v1/roles/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermetica.15.204.158.166.sslip.io/v1/roles/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPUT
https://hermetica.15.204.158.166.sslip.io /v1/members/{userId}/custom-role Parameters
userIdstringpathrequiredRequest body
application/json
roleIdstringrequired{
"roleId": "string"
}Code samples
cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/members/{userId}/custom-role" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"roleId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermetica.15.204.158.166.sslip.io /v1/compliance/gpc Whether a browser Global Privacy Control / Do Not Track signal counts as a tracking opt-out (default on)
Code samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/compliance/gpc" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"honour": true
}Schema
honourbooleanrequiredPUT
https://hermetica.15.204.158.166.sslip.io /v1/compliance/gpc Request body
application/json
honourbooleanrequired{
"honour": true
}Code samples
cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/compliance/gpc" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"honour":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermetica.15.204.158.166.sslip.io /v1/compliance/trash-retention Days deleted campaigns, lists and archived templates stay restorable (0 = forever)
Code samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/compliance/trash-retention" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"days": 0
}Schema
daysintegerrequiredPUT
https://hermetica.15.204.158.166.sslip.io /v1/compliance/trash-retention Request body
application/json
daysintegerrequired{
"days": 0
}Code samples
cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/compliance/trash-retention" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"days":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermetica.15.204.158.166.sslip.io /v1/compliance/retention Code samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/compliance/retention" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
[
{
"dataClass": "string",
"retainDays": 0,
"isDefault": true
}
]Schema
dataClassstringrequiredretainDaysnumberrequiredisDefaultbooleanrequiredUpdated