connections
POST
https://hermeticor.com /v1/sender-pools Request body
application/json
namestringrequiredchannelstringrequiredstrategystringmembersMembersItem2[]Show child parameters
connectionIdstringrequiredsenderIdentityIdstringweightintegermatchProviderboolean{
"name": "string",
"channel": "email",
"strategy": "round_robin",
"members": [],
"matchProvider": true
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/sender-pools" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","channel":"email","strategy":"round_robin","members":[],"matchProvider":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"channel": "email",
"strategy": "round_robin",
"members": [
{
"connectionId": "string",
"senderIdentityId": null,
"weight": 1
}
],
"matchProvider": true
}Schema
idstringrequirednamestringrequiredchannelstringrequiredstrategystringrequiredmembersMembersItem[]requiredShow child parameters
connectionIdstringrequiredsenderIdentityIdstringrequiredweightintegerrequiredmatchProviderbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/sender-pools/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/sender-pools/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/sender-pools/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/sender-pools/{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/sender-pools/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringstrategystringmembersMembersItem2[]Show child parameters
connectionIdstringrequiredsenderIdentityIdstringweightintegermatchProviderboolean{
"name": "string",
"strategy": "round_robin",
"members": [
{
"connectionId": "string",
"senderIdentityId": null,
"weight": 1
}
],
"matchProvider": true
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/sender-pools/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","strategy":"round_robin","members":[{"connectionId":"string","senderIdentityId":null,"weight":1}],"matchProvider":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/route-policies Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/route-policies" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"name": "string",
"purpose": "marketing",
"rules": {
"rules": [],
"fallback": []
},
"id": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem23[]requiredShow child parameters
namestringrequiredpurposestringrequiredrulesobjectrequiredShow child parameters
rulesRulesItem[]requiredfallbackTarget[]requiredidstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/route-policies Request body
application/json
namestringrequiredpurposestringrequiredrulesobjectrequiredShow child parameters
rulesRulesItem2[]Show child parameters
matchobjectrequiredtargetobjectrequiredfallbackTarget2[]Show child parameters
poolIdstringconnectionIdstring{
"name": "string",
"purpose": "marketing",
"rules": {
"rules": [],
"fallback": []
}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/route-policies" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","purpose":"marketing","rules":{"rules":[],"fallback":[]}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"name": "string",
"purpose": "marketing",
"rules": {
"rules": [],
"fallback": []
},
"id": "string"
}Schema
namestringrequiredpurposestringrequiredrulesobjectrequiredShow child parameters
rulesRulesItem[]requiredShow child parameters
matchobjectrequiredtargetobjectrequiredfallbackTarget[]requiredShow child parameters
poolIdstringconnectionIdstringidstringrequiredGET
https://hermeticor.com /v1/route-policies/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/route-policies/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/route-policies/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/route-policies/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PATCH
https://hermeticor.com /v1/route-policies/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringpurposestringrulesobjectShow child parameters
rulesRulesItem2[]Show child parameters
matchobjectrequiredtargetobjectrequiredfallbackTarget2[]Show child parameters
poolIdstringconnectionIdstring{
"name": "string",
"purpose": "marketing",
"rules": {
"rules": [],
"fallback": []
}
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/route-policies/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","purpose":"marketing","rules":{"rules":[],"fallback":[]}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated