agency
PUT
https://hermeticor.com /v1/agency/clients/{workspaceId}/quota Monthly send cap for one client (null lifts it); it can only tighten the client's plan limit
Parameters
workspaceIdstringpathrequiredRequest body
application/json
sendsEmailintegerrequiredsendsSmsintegerrequired{
"sendsEmail": 0,
"sendsSms": 0
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/agency/clients/{workspaceId}/quota" \
-H "Content-Type: application/json" \
-d '{"sendsEmail":0,"sendsSms":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"sendsEmail": 0,
"sendsSms": 0
}Schema
sendsEmailintegerrequiredsendsSmsintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/agency/clients/{workspaceId}/modules Which modules this client may use (the rest are switched off)
Parameters
workspaceIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/agency/clients/{workspaceId}/modules"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"modules": [
{
"key": "string",
"label": "string"
}
],
"disabled": [
"string"
]
}Schema
modulesobject[]requiredShow child parameters
keystringrequiredlabelstringrequireddisabledstring[]requiredPUT
https://hermeticor.com /v1/agency/clients/{workspaceId}/modules Switch client modules off or on; takes effect within 30 seconds on every instance
Parameters
workspaceIdstringpathrequiredRequest body
application/json
disabledstring[]required{
"disabled": [
"string"
]
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/agency/clients/{workspaceId}/modules" \
-H "Content-Type: application/json" \
-d '{"disabled":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/agency/members Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/agency/members"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"userId": "string",
"email": "string",
"name": "string",
"role": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem138[]requiredShow child parameters
userIdstringrequiredemailstringrequirednamestringrequiredrolestringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/agency/members Add or re-role agency staff; the role cascades into every client workspace
Request body
application/json
emailstringrequiredrolestringrequired{
"email": "string",
"role": "admin"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/agency/members" \
-H "Content-Type: application/json" \
-d '{"email":"string","role":"admin"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/agency/members/{userId} Parameters
userIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/agency/members/{userId}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"userId": "string",
"email": "string",
"name": "string",
"role": "string"
}Schema
userIdstringrequiredemailstringrequirednamestringrequiredrolestringrequiredDELETE
https://hermeticor.com /v1/agency/members/{userId} Parameters
userIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/agency/members/{userId}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/agency/copy-template Copy a template (current version) from the current workspace into a client workspace
Request body
application/json
targetWorkspaceIdstringrequiredsourceIdstringrequired{
"targetWorkspaceId": "string",
"sourceId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/agency/copy-template" \
-H "Content-Type: application/json" \
-d '{"targetWorkspaceId":"string","sourceId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"validation": {
"ok": true,
"errors": [
{
"severity": "error",
"code": "string",
"message": "string",
"nodeId": "string",
"fix": "string"
}
],
"warnings": [
{
"severity": "error",
"code": "string",
"message": "string",
"nodeId": "string",
"fix": "string"
}
]
}
}Schema
idstringrequirednamestringrequiredvalidationobjectrequiredShow child parameters
okbooleanrequirederrorsErrorsItem[]requiredShow child parameters
severitystringrequiredcodestringrequiredmessagestringrequirednodeIdstringfixstringwarningsErrorsItem[]requiredShow child parameters
severitystringrequiredcodestringrequiredmessagestringrequirednodeIdstringfixstringPOST
https://hermeticor.com /v1/agency/copy-workflow Copy a flow into a client workspace as a draft. Template/segment/connection references do not travel: the returned validation lists what to re-link.
Request body
application/json
targetWorkspaceIdstringrequiredsourceIdstringrequired{
"targetWorkspaceId": "string",
"sourceId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/agency/copy-workflow" \
-H "Content-Type: application/json" \
-d '{"targetWorkspaceId":"string","sourceId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/agency/groups Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/agency/groups"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"workspaceIds": [
"string"
],
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem151[]requiredShow child parameters
idstringrequirednamestringrequiredworkspaceIdsstring[]requiredcreatedAtstringrequirednextCursorstringrequiredUpdated