Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get a request's comments

GET {{baseUrl}}/collections/{{collectionUid}}/requests/{{requestUid}}/comments

Gets all comments left by users in a request.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "data": [ { "id": 46818, "createdBy": 12345678, "createdAt": "2024-01-18T12:00:54.000Z", "updatedAt": "2024-01-18T12:00:54.000Z", "body": "This is also an example." }, { "id": 46817, "createdBy": 87654321, "createdAt": "2024-01-18T11:48:01.000Z", "updatedAt": "2024-01-18T11:48:01.000Z", "body": "Another example." }, { "id": 46814, "createdBy": 12345678, "createdAt": "2024-01-18T11:30:40.000Z", "updatedAt": "2024-01-18T11:30:40.000Z", "body": "This is an example." } ] }



Curl
curl -X GET 'https://api.getpostman.com/collections/collectionUid/requests/requestUid/comments'

ENDPOINTS