Skip to content

Conversation

Example data

{
  "type": "conversations",
  "id": "66eddbb7-5a1d-4f90-b005-d5e2c72fcbba",
  "attributes": {
    "abstract": "Hi! Thank you for free WiFi!",
    "author-email": "john.doe@example.com",
    "is-replied": false,
    "last-message-date": "2021-04-08T08:21:46.611915+00:00",
    "read": true,
    "author-name": "John Doe",
    "type": "contact_form_conversation",
    "status": "open",
    "date-started": "2018-08-25T22:11:11+00:00"
  },
  "relationships": {
    "messages": {
      "data": [
        {
          "type": "messages",
          "id": "8307d5cb-f0b9-40e3-9f4f-1af475e6abd7"
        },
      ]
    },
    "venue": {
      "data": {
        "type": "venues",
        "id": "22222222-2222-2222-2222-222222222222"
      }
    },
    "responder-messages": {
      "data": [
        {
          "type": "responder_messages",
          "id": "1b592d29-192b-49c1-b573-f29057095d81"
        },
      ]
    },
    "project": {
      "data": {
        "type": "projects",
        "id": "11111111-1111-1111-1111-111111111111"
      }
    }
  }
}

Attributes

Name Description
abstract short abstract of the message (user to venue staff)
author-email User email
is-replied Flag if the message have been replied to by venue staff
last-message-date date of last message in the conversation
author-name User display name
type conversation type (origin)
status open/closed status
date-started creation date

Relationships

Name Resource
project Project
venue Venue
messages Message
responder-messages Message

Conversation types

Name Description
contact-form-conversation created by contact form widget on welcome page
rating-conversation created by adding a comment after rating a venue
rating-request-conversation created by venue staff requesting feedback to a feedback-less rating