Communications
Communications API
Get communication analytics
In: header
Query Parameters
date-timedate-timeResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/analytics"{
"byTemplate": [
{
"clickRate": 0.1,
"openRate": 0.1,
"templateId": "string",
"templateName": "string",
"totalClicked": 0,
"totalOpened": 0,
"totalSent": 0
}
],
"byType": [
{
"clickRate": 0.1,
"openRate": 0.1,
"totalClicked": 0,
"totalOpened": 0,
"totalSent": 0,
"type": "OFFERTE"
}
],
"clickRate": 0.1,
"failureRate": 0.1,
"openRate": 0.1,
"sendVolumeByDay": [
{
"count": 0,
"date": "string"
}
],
"totalClicked": 0,
"totalOpened": 0,
"totalSent": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get all communications for a CRM entity
In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/by-entity?entityType=string&entityId=string"[
{
"bodyHtml": "string",
"bodyText": "string",
"cc": [
"string"
],
"conversationId": "string",
"date": "2019-08-24T14:15:22Z",
"direction": "ASC",
"fromEmail": "string",
"fromName": "string",
"id": "string",
"opened": true,
"recipients": [
"string"
],
"status": "string",
"subject": "string"
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Download Csv_ Communication Record
In: header
Query Parameters
0int3220int32Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/csv-export""string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Delete a list of entities by their IDs
In: header
Query Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "http://localhost:18080/api/v1/communications/delete-list?ids=string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Dynamic Search_ Communication Record
In: header
Query Parameters
0int3220int32Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/dynamic-search"{
"content": [
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Dynamic Search Post_ Communication Record
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/dynamic-search" \ -H "Content-Type: application/json" \ -d '{ "filters": { "property1": null, "property2": null }, "page": 0, "search": [ "string" ], "size": 0, "sort": [ { "ascending": true, "field": "string" } ] }'{
"content": [
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find by list of ids in current tenant
In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/find"[
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find all for current tenant
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/find-all"[
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find a list of entities by their IDs
In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/find-list"[
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Find by id in current tenant
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/find/string"{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Link click tracking redirect
In: header
Path Parameters
int32Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/link/string/0"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get page by page number and size with optional sorting based on field to sortBy and direction
In: header
Query Parameters
int32int32"ASC" | "DESC"Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/page"{
"content": [
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Schedule an email for later delivery
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/schedule" \ -H "Content-Type: application/json" \ -d '{ "body": "string", "recipients": [ "string" ], "scheduledAt": "2019-08-24T14:15:22Z", "subject": "string" }'{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get all scheduled emails
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/scheduled"[
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Send an ad-hoc email
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/send" \ -H "Content-Type: application/json" \ -d '{ "body": "string", "recipients": [ "string" ], "subject": "string" }'{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Send email using a template
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/send-template/string" \ -H "Content-Type: application/json" \ -d '{ "recipients": [ "string" ] }'{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Tracking pixel endpoint
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/track/string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Delete by id in current tenant
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "http://localhost:18080/api/v1/communications/string"{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Cancel a scheduled email
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/string/cancel"{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Add a comment to an entity
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/string/comment" \ -H "Content-Type: application/json" \ -d 'string'{}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Resend a failed or sent email
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/communications/string/resend"{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}Get conversation thread for a communication
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/communications/string/thread"{
"inbound": [
{
"bodyHtml": "string",
"bodyText": "string",
"cc": [
"string"
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"fromEmail": "string",
"fromName": "string",
"graphMessageId": "string",
"id": "string",
"inReplyTo": "string",
"internetMessageId": "string",
"parentCommunicationId": "string",
"receivedAt": "2019-08-24T14:15:22Z",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"status": "NEW",
"subject": "string",
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}
],
"outbound": [
{
"bcc": [
"string"
],
"body": "string",
"cc": [
"string"
],
"clickedLinks": [
{
"clickCount": 0,
"clickedAt": "2019-08-24T14:15:22Z",
"originalUrl": "string",
"url": "string"
}
],
"conversationId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"errorMessage": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internetMessageId": "string",
"linkTrackingEnabled": true,
"messageId": "string",
"openCount": 0,
"opened": true,
"openedAt": "2019-08-24T14:15:22Z",
"originalBody": "string",
"providerType": "RESEND",
"recipientListId": "string",
"recipients": [
"string"
],
"relatedEntityId": "string",
"relatedEntityType": "string",
"replyTo": "string",
"scheduledAt": "2019-08-24T14:15:22Z",
"senderEmail": "string",
"senderName": "string",
"sentAt": "2019-08-24T14:15:22Z",
"status": "PENDING",
"subject": "string",
"templateId": "string",
"templateName": "string",
"tenantId": "string",
"trackingEnabled": true,
"type": "OFFERTE",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"variables": {
"property1": null,
"property2": null
}
}
]
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}