segments
POST
https://hermeticor.com /v1/attributes/field-groups Request body
application/json
keystringrequiredlabelstringrequiredpositioninteger{
"key": "string",
"label": "string",
"position": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/attributes/field-groups" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key":"string","label":"string","position":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"key": "string",
"label": "string",
"position": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkeystringrequiredlabelstringrequiredpositionintegerrequiredcreatedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/attributes/field-groups/{key} Parameters
keystringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/attributes/field-groups/{key}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/attributes/field-groups/{key} Delete a group; its fields become ungrouped
Parameters
keystringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/attributes/field-groups/{key}" \
-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/attributes/field-groups/{key} Parameters
keystringpathrequiredRequest body
application/json
labelstringpositioninteger{
"label": "string",
"position": 0
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/attributes/field-groups/{key}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"string","position":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/stages Lifecycle stages in order of weight
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/stages" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"weight": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem12[]requiredShow child parameters
idstringrequirednamestringrequiredweightintegerrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/stages Request body
application/json
namestringrequiredweightinteger{
"name": "string",
"weight": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/stages" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","weight":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"weight": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredweightintegerrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/stages/{id} Delete a stage; the people in it end up with no stage
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/stages/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PATCH
https://hermeticor.com /v1/stages/{id} Rename or reweight; a rename carries the people in it
Parameters
idstringpathrequiredRequest body
application/json
namestringweightinteger{
"name": "string",
"weight": 0
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/stages/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","weight":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/stages/{id}/merge Move everyone into another stage and remove this one
Parameters
idstringpathrequiredRequest body
application/json
intoIdstringrequired{
"intoId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/stages/{id}/merge" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"intoId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"moved": 0
}Schema
movedintegerrequiredPOST
https://hermeticor.com /v1/stages/{id}/profiles Put a contact in the stage (logged in attribute history)
Parameters
idstringpathrequiredRequest body
application/json
profileIdstringrequired{
"profileId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/stages/{id}/profiles" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"profileId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/stages/{id}/profiles/{profileId} Take a contact out of the stage
Parameters
idstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/stages/{id}/profiles/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated