Get the details of a message (getMessageById)
GET {{baseUrl}}/channels/:providerChannelId/messages/:sourceMessageId
When an attachment was received with the option link_expires: true
, Pipedrive will test the attachment links provided, by sending a HEAD request. In the case that the link is no longer accessible, Pipedrive will make a request to this endpoint to receive an updated message with attachments.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"id":"laborum","status":"read","created_at":"2022-06-07T15:00:34.829Z","message":"quis culpa minim ut","sender_id":"anim ad","reply_by":"1998-04-03T02:26:26.106Z","attachments":[{"id":"cupidatat quis si","type":"magna ipsum consectetur","url":"consectetur nulla d","name":"ut velit dolor","size":17462625.02644518,"link_expires":false,"preview_url":"in"},{"id":"anim","type":"sit sint aliquip","url":"dolor dolore incididunt dolore","name":"in proident officia","size":-46109065.63632988,"link_expires":false,"preview_url":"dolor velit cillum consequat"}]}