Get messages
Get messages from given thread
AUTHORIZATIONS:> access_token
PATH PARAMETERS
| threadId
required
|
integer
|
QUERY PARAMETERS
| offset |
integer
Starting element |
| limit |
integer
Elements limit per page |
Responses
200
Status 200
RESPONSE SCHEMA: application/json
Array
| id |
integer
Message ID |
| thread_id |
integer
Thread ID |
| created_at |
string <date-time>
Time when message was sent |
| type |
string
Enum: "sent" "received"
Sent or received |
| text |
string
Message text |
| is_read |
boolean
Is message read |
|
Array of objects
List of attachments |
|
|
Array of objects
|
OLX Production Server
https://www.olx.ro/api/partner/threads/{threadId}/messages
GET
/threads/{threadId}/messages
Response samples
200
Content type
application/json
[
{
"id": 1,
"thread_id": 1,
"created_at": "2018-01-30 08:26:36",
"type": "sent",
"text": "This is my message",
"attachments": null,
"is_read": true
}
]
Copied to clipboard