inapp-client
POST
https://hermeticor.com /client/in-app-trackers/{id}/events The component reports an event; the journey waiting on it moves on
Parameters
company_idstringqueryexternal_idstringqueryemailstringqueryphone_numberstringqueryanonymous_idstringqueryidstringpathrequiredRequest body
application/json
eventstringrequiredprofileobjectrequiredShow child parameters
externalIdstringemailstringphoneNumberstringanonymousIdstring{
"event": "string",
"profile": {
"externalId": "string",
"email": "string",
"phoneNumber": "string",
"anonymousId": "string"
}
}Code samples
cURL
curl -X POST "https://hermeticor.com/client/in-app-trackers/{id}/events" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event":"string","profile":{"externalId":"string","email":"string","phoneNumber":"string","anonymousId":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"ok": true
}Schema
okbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /client/geofence-events The app entered, left or dwelled in a geofence: recorded as geofence_entered / geofence_exited / geofence_dwelled
Parameters
company_idstringqueryexternal_idstringqueryemailstringqueryphone_numberstringqueryanonymous_idstringqueryRequest body
application/json
geofenceIdstringrequiredtransitionstringprofileobjectrequiredShow child parameters
externalIdstringemailstringphoneNumberstringanonymousIdstring{
"geofenceId": "string",
"transition": "enter",
"profile": {
"externalId": "string",
"email": "string",
"phoneNumber": "string",
"anonymousId": "string"
}
}Code samples
cURL
curl -X POST "https://hermeticor.com/client/geofence-events" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"geofenceId":"string","transition":"enter","profile":{"externalId":"string","email":"string","phoneNumber":"string","anonymousId":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"ok": true,
"recorded": 0
}Schema
okbooleanrequiredrecordedintegerrequiredUpdated