Skip to main content

get_message

GET /messages/:id

Get a single message

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

attributedescription
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

relationshipdescription
answer_setsmessage answer_set