outbound
POST
https://hermeticor.com /v1/outbound/tasks/{id}/call Click-to-call (or voicemail drop) from a call task through the workspace's Twilio; the call is logged on the task when Twilio reports back
Parameters
idstringpathrequiredRequest body
application/json
modestringagentPhonestring{
"mode": "call",
"agentPhone": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/tasks/{id}/call" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mode":"call","agentPhone":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"callSid": "string"
}Schema
callSidstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/outbound/inbox-routing Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/inbox-routing" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"connectionId": "string",
"assigneeUserId": "string",
"channel": "email"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem218[]requiredShow child parameters
connectionIdstringrequiredassigneeUserIdstringrequiredchannelstringrequirednextCursorstringrequiredPUT
https://hermeticor.com /v1/outbound/inbox-routing/{channel} Default inbox and default assignee for new replies on a channel
Parameters
channelstringpathrequiredRequest body
application/json
connectionIdstringrequiredassigneeUserIdstringrequired{
"connectionId": "string",
"assigneeUserId": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/outbound/inbox-routing/{channel}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string","assigneeUserId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"connectionId": "string",
"assigneeUserId": "string",
"channel": "email"
}Schema
connectionIdstringrequiredassigneeUserIdstringrequiredchannelstringrequiredGET
https://hermeticor.com /v1/outbound/proposals Messages proposed by AI agents, waiting for a person
Parameters
statusstringquerysourcestringquerylimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/proposals" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"profileId": "string",
"channel": "email",
"connectionId": "string",
"subject": "string",
"text": "string",
"reason": "string",
"source": "string",
"sourceRef": "string",
"status": "pending",
"decidedAt": "2024-01-01T00:00:00Z",
"result": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem219[]requiredShow child parameters
idstringrequiredprofileIdstringrequiredchannelstringrequiredconnectionIdstringrequiredsubjectstringrequiredtextstringrequiredreasonstringrequiredsourcestringrequiredsourceRefstringrequiredstatusstringrequireddecidedAtstringrequiredresultstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/outbound/proposals/{id}/decide Approve (optionally edited) or reject; approving sends through the normal path, consent and suppression rechecked
Parameters
idstringpathrequiredRequest body
application/json
actionstringrequiredsubjectstringtextstring{
"action": "approve",
"subject": "string",
"text": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/proposals/{id}/decide" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action":"approve","subject":"string","text":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"profileId": "string",
"channel": "email",
"connectionId": "string",
"subject": "string",
"text": "string",
"reason": "string",
"source": "string",
"sourceRef": "string",
"status": "pending",
"decidedAt": "2024-01-01T00:00:00Z",
"result": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredprofileIdstringrequiredchannelstringrequiredconnectionIdstringrequiredsubjectstringrequiredtextstringrequiredreasonstringrequiredsourcestringrequiredsourceRefstringrequiredstatusstringrequireddecidedAtstringrequiredresultstringrequiredcreatedAtstringrequiredPOST
https://hermeticor.com /webhooks/outbound-voice/{workspaceId}/{taskId} Twilio Voice status / dial / answering-machine callback: plays the voicemail clip or bridges the rep, and logs the call on the task
Parameters
kindstringqueryrequiredrepstringqueryworkspaceIdstringpathrequiredtaskIdstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/webhooks/outbound-voice/{workspaceId}/{taskId}?kind=dial"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /v1/calendar-feeds Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/calendar-feeds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"name": "string",
"taskScope": "mine",
"includeTasks": true,
"includeCampaigns": true,
"id": "string",
"tokenLast4": "string",
"ownerUserId": "string",
"lastAccessedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem220[]requiredShow child parameters
namestringrequiredtaskScopestringrequiredincludeTasksbooleanrequiredincludeCampaignsbooleanrequiredidstringrequiredtokenLast4stringrequiredownerUserIdstringrequiredlastAccessedAtstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/calendar-feeds Create a feed; the response holds the only copy of its subscription URL
Request body
application/json
namestringrequiredtaskScopestringincludeTasksbooleanincludeCampaignsboolean{
"name": "string",
"taskScope": "mine",
"includeTasks": true,
"includeCampaigns": true
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/calendar-feeds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","taskScope":"mine","includeTasks":true,"includeCampaigns":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"feed": {
"name": "string",
"taskScope": "mine",
"includeTasks": true,
"includeCampaigns": true,
"id": "string",
"tokenLast4": "string",
"ownerUserId": "string",
"lastAccessedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
},
"url": "string"
}Schema
feedobjectrequiredShow child parameters
namestringrequiredtaskScopestringrequiredincludeTasksbooleanrequiredincludeCampaignsbooleanrequiredidstringrequiredtokenLast4stringrequiredownerUserIdstringrequiredlastAccessedAtstringrequiredcreatedAtstringrequiredurlstringrequiredUpdated