Skip to main content
GET
/
v1
/
organisations
/
{organisationId}
/
hosts
Retrieve an organisation's mock hosts
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId}/hosts \
  --header 'Authorization: <api-key>'
{
  "mockHosts": [
    {
      "id": "<string>",
      "name": "<string>",
      "links": {
        "self": "<string>"
      },
      "friendlyHostname": "<string>"
    }
  ],
  "links": {
    "self": "<string>",
    "next": "<string>",
    "previous": "<string>"
  },
  "meta": {
    "start": 123,
    "end": 123,
    "total": 123,
    "page": 123,
    "totalPages": 123
  }
}

Authorizations

Authorization
string
header
required

Your API key prefixed by 'Token '

Path Parameters

organisationId
string
required

The ID of the organisation

Required string length: 5 - 10
Example:

"jjl8y"

Response

200 - application/json

Success

mockHosts
object[]
required
meta
object
required