Get all mock servers
Gets all active mock servers. By default, this endpoint returns only mock servers you created across all workspaces.
Note:
If you pass both the teamId and workspace query parameters, this endpoint only accepts the workspace query.
Authentication
x-api-keystring
API Key authentication via header
Query parameters
teamId
Return only results that belong to the given team ID.
workspace
Return only results found in the given workspace ID.
Response
Successful Response
mocks
A list of mock servers.
Errors
401
Unauthorized Error
500
Internal Server Error