events
GET
https://hermeticor.com /v1/marketing-events Parameters
limitintegerquerycursorstringquerystatusstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/marketing-events" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"kind": "webinar",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"url": "string",
"organizer": "string",
"capacity": 0,
"status": "scheduled",
"externalRef": "string",
"registered": 0,
"attended": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem155[]requiredShow child parameters
idstringrequirednamestringrequiredkindstringrequiredstartsAtstringrequiredendsAtstringrequiredurlstringrequiredorganizerstringrequiredcapacityintegerrequiredstatusstringrequiredexternalRefstringrequiredregisteredintegerrequiredattendedintegerrequiredcreatedAtstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/marketing-events Request body
application/json
namestringrequiredkindstringstartsAtstringendsAtstringurlstringorganizerstringcapacityintegerstatusstringexternalRefstring{
"name": "string",
"kind": "webinar",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"url": "string",
"organizer": "string",
"capacity": 0,
"status": "scheduled",
"externalRef": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/marketing-events" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","kind":"webinar","startsAt":"2024-01-01T00:00:00Z","endsAt":"2024-01-01T00:00:00Z","url":"string","organizer":"string","capacity":0,"status":"scheduled","externalRef":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"kind": "webinar",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"url": "string",
"organizer": "string",
"capacity": 0,
"status": "scheduled",
"externalRef": "string",
"registered": 0,
"attended": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredkindstringrequiredstartsAtstringrequiredendsAtstringrequiredurlstringrequiredorganizerstringrequiredcapacityintegerrequiredstatusstringrequiredexternalRefstringrequiredregisteredintegerrequiredattendedintegerrequiredcreatedAtstringrequiredGET
https://hermeticor.com /v1/marketing-events/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/marketing-events/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/marketing-events/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/marketing-events/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/marketing-events/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringkindstringstartsAtstringendsAtstringurlstringorganizerstringcapacityintegerstatusstringexternalRefstring{
"name": "string",
"kind": "webinar",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"url": "string",
"organizer": "string",
"capacity": 0,
"status": "scheduled",
"externalRef": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/marketing-events/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","kind":"webinar","startsAt":"2024-01-01T00:00:00Z","endsAt":"2024-01-01T00:00:00Z","url":"string","organizer":"string","capacity":0,"status":"scheduled","externalRef":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/marketing-events/{id}/registrations Parameters
limitintegerquerycursorstringquerystatusstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/marketing-events/{id}/registrations" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"eventId": "string",
"email": "string",
"profileId": "string",
"status": "registered",
"attendedAt": "2024-01-01T00:00:00Z",
"durationSec": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredeventIdstringrequiredemailstringrequiredprofileIdstringrequiredstatusstringrequiredattendedAtstringrequireddurationSecintegerrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/marketing-events/{id}/registrations Register people; each registration is written to the timeline as event_registered (it is not marketing consent)
Parameters
idstringpathrequiredRequest body
application/json
emailsstring[]required{
"emails": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/marketing-events/{id}/registrations" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"emails":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"registered": 0,
"skipped": [
{
"email": "string",
"reason": "string"
}
]
}Schema
registeredintegerrequiredskippedobject[]requiredShow child parameters
emailstringrequiredreasonstringrequiredPOST
https://hermeticor.com /v1/marketing-events/{id}/registrations/cancel Parameters
idstringpathrequiredRequest body
application/json
emailstringrequired{
"email": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/marketing-events/{id}/registrations/cancel" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/marketing-events/{id}/attendance Import attendance; writes event_attended (and optionally event_no_show) to the timeline for segments and workflows
Parameters
idstringpathrequiredRequest body
application/json
rowsobject[]requiredShow child parameters
emailstringrequireddurationSecintegermarkNoShowsboolean{
"rows": [
{
"email": "string",
"durationSec": 0
}
],
"markNoShows": false
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/marketing-events/{id}/attendance" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rows":[{"email":"string","durationSec":0}],"markNoShows":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"attended": 0,
"noShows": 0
}Schema
attendedintegerrequirednoShowsintegerrequiredUpdated