outbound
PUT
https://hermeticor.com /v1/outbound/task-types/{id} Parameters
idstringpathrequiredRequest body
application/json
keystringrequiredlabelstringrequiredcolorstringoutcomesstring[]positioninteger{
"key": "string",
"label": "string",
"color": "#6b7280",
"outcomes": [],
"position": 0
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/outbound/task-types/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key":"string","label":"string","color":"#6b7280","outcomes":[],"position":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"key": "string",
"label": "string",
"color": "#6b7280",
"outcomes": [],
"position": 0,
"id": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
keystringrequiredlabelstringrequiredcolorstringrequiredoutcomesstring[]requiredpositionintegerrequiredidstringrequiredcreatedAtstringrequiredupdatedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/outbound/task-types/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/outbound/task-types/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPOST
https://hermeticor.com /v1/outbound/tasks/bulk Assign, snooze, complete or skip many tasks at once
Request body
application/json
idsstring[]requiredactionobjectrequired{
"ids": [
"string"
],
"action": {
"op": "assign",
"assigneeUserId": "string"
}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/tasks/bulk" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["string"],"action":{"op":"assign","assigneeUserId":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"updated": 0,
"failed": [
{
"id": "string",
"error": "string"
}
]
}Schema
updatedintegerrequiredfailedFailedItem2[]requiredShow child parameters
idstringrequirederrorstringrequiredGET
https://hermeticor.com /v1/outbound/voice-clips 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/voice-clips" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"contentType": "string",
"bytes": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem217[]requiredShow child parameters
idstringrequirednamestringrequiredcontentTypestringrequiredbytesintegerrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/outbound/voice-clips Upload an audio clip (multipart field "file"): MP3, M4A, OGG, WAV or WebM up to 5 MB
Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/voice-clips" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"contentType": "string",
"bytes": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredcontentTypestringrequiredbytesintegerrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/outbound/voice-clips/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/outbound/voice-clips/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/outbound/telephony The connected Twilio Voice account (the auth token is never returned)
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/telephony" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"provider": "string",
"accountSid": "string",
"fromNumber": "string",
"last4": "string"
}Schema
providerstringrequiredaccountSidstringrequiredfromNumberstringrequiredlast4stringrequiredPUT
https://hermeticor.com /v1/outbound/telephony Request body
application/json
accountSidstringrequiredauthTokenstringrequiredfromNumberstringrequired{
"accountSid": "string",
"authToken": "string",
"fromNumber": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/outbound/telephony" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountSid":"string","authToken":"string","fromNumber":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/outbound/telephony Code samples
cURL
curl -X DELETE "https://hermeticor.com/v1/outbound/telephony" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/outbound/telephony/my-phone Your own phone for click-to-call (Twilio rings it first)
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/telephony/my-phone" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"phone": "string"
}Schema
phonestringrequiredPUT
https://hermeticor.com /v1/outbound/telephony/my-phone Request body
application/json
phonestringrequired{
"phone": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/outbound/telephony/my-phone" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated