get_message
GET /messages/:id
Get a single message
- Rails
require 'rest-client'
message_id = 'PUT-YOUR-MESSAGE-ID-HERE'
RestClient::Request.execute method: :get,
url: "https://api.diduenjoy.com/api/v1/messages/#{message_id}",
user: 'PUT-YOUR-API-KEY-HERE'
attributes
| attribute | description |
|---|---|
| created_at datetime | message creation date |
| updated_at datetime | message last modification date |
| text string | message text |
| from_client boolean | equal "true" if the message has been sent |
| unread boolean | equal "true" if the message has been read |
| is_note boolean | equal "true" if the message is a note |
| author string | author name and email address |
relationships
| relationship | description |
|---|---|
| answer_sets | message answer_set |