Trigger test from POST request to mock server

Mock servers might not be the most efficient tool for this use case. Webhooks however can be used.

You can use the Postman API to create a webhook. A request sent to that webhook endpoint will trigger a collection run, and you can have requests in that collection run test scripts, make API calls, etc

You can follow this guide to learn how you can trigger a collection run using a webhook.