outbound
GET
https://hermeticor.com /v1/outbound/inbox/{id}/drafts Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/inbox/{id}/drafts" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"inboundId": "string",
"profileId": "string",
"authorUserId": "string",
"subject": "string",
"body": "string",
"connectionId": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem131[]requiredShow child parameters
idstringrequiredinboundIdstringrequiredprofileIdstringrequiredauthorUserIdstringrequiredsubjectstringrequiredbodystringrequiredconnectionIdstringrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/outbound/inbox/{id}/drafts Parameters
idstringpathrequiredRequest body
application/json
bodystringrequiredsubjectstringconnectionIdstring{
"body": "string",
"subject": "string",
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/inbox/{id}/drafts" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string","subject":"string","connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"inboundId": "string",
"profileId": "string",
"authorUserId": "string",
"subject": "string",
"body": "string",
"connectionId": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredinboundIdstringrequiredprofileIdstringrequiredauthorUserIdstringrequiredsubjectstringrequiredbodystringrequiredconnectionIdstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredGET
https://hermeticor.com /v1/outbound/inbox/{id}/drafts/{draftId} Parameters
idstringpathrequireddraftIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/inbox/{id}/drafts/{draftId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/outbound/inbox/{id}/drafts/{draftId} Parameters
idstringpathrequireddraftIdstringpathrequiredRequest body
application/json
bodystringrequiredsubjectstringconnectionIdstring{
"body": "string",
"subject": "string",
"connectionId": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/outbound/inbox/{id}/drafts/{draftId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string","subject":"string","connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/outbound/inbox/{id}/drafts/{draftId} Parameters
idstringpathrequireddraftIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/outbound/inbox/{id}/drafts/{draftId}" \
-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/inbox/{id}/drafts/{draftId}/send Send the draft as a reply (consent and suppression still apply) and delete it
Parameters
idstringpathrequireddraftIdstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/inbox/{id}/drafts/{draftId}/send" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"jobId": "string",
"status": "queued",
"reason": "string"
}Schema
jobIdstringrequiredstatusstringrequiredreasonstringPOST
https://hermeticor.com /v1/outbound/inbox/{id}/important Parameters
idstringpathrequiredRequest body
application/json
valuebooleanrequired{
"value": true
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/inbox/{id}/important" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/outbound/inbox/{id}/remind Parameters
idstringpathrequiredRequest body
application/json
atstringrequired{
"at": "2024-01-01T00:00:00Z"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/inbox/{id}/remind" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"at":"2024-01-01T00:00:00Z"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/outbound/inbox/{id}/ignore Ignore a reply: hide it and take it out of the reply counters
Parameters
idstringpathrequiredRequest body
application/json
valuebooleanrequired{
"value": true
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/inbox/{id}/ignore" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated