AlphaAlpha Docs

Get the email conversation thread for a booking

GET
/crm/bookings/{id}/thread
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/crm/bookings/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",
      "number": "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",
      "number": "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",
      "senderMailbox": "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"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}