Logo
30-day challenge API Documentation

Get all server responses

GET https://api.getpostman.com/mocks/{{mockId}}/server-responses

Gets all of a mock server's server responses.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

[ { "id": "965cdd16-fe22-4d96-a161-3d05490ac421", "name": "Internal Server Error", "statusCode": 500, "createdAt": "2022-08-02T14:57:44.000Z", "updatedAt": "2022-08-02T14:57:44.000Z", "createdBy": "12345678", "updatedBy": "12345678" } ]



Curl
curl -X GET 'https://api.getpostman.com/mocks/undefined/server-responses'

ENDPOINTS