Postman · Example Payload

Postman Create Mock Server Example

AI Agent BuilderAI AgentsAPI CatalogAPI ClientAPI DesignAPI DevelopmentAPI DocumentationAPI GovernanceAPI LifecycleAPI MonitoringAPI NetworkAPI PlatformAPI TestingAudit LogsAutomationCI/CDCollaborationCollectionsComplianceDiscoveryEnvironmentsFlowsGraphQLgRPCHTTPInsightsMCPMCP GeneratorMock ServersMockingMonitorsNewmanOpenAPIPlatformPrivate API NetworkPublic API NetworkSecret ScanningSpec HubSpecificationsSSOTestingVaultWebSocketWorkflowsWorkspaces

Postman Create Mock Server Example is an example object payload from Postman, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.getpostman.com/mocks?workspace=f8b8f2b1-9f8a-4c4c-9b3e-2a1c1f1d2e3f",
    "headers": {
      "x-api-key": "PMAK-xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "Content-Type": "application/json"
    },
    "body": {
      "mock": {
        "collection": "12345678-12ece9e1-2abf-4edc-8e34-de66e74e6e3d",
        "environment": "12345678-7a9b3c1d-4e5f-6071-8290-aabbccddeeff",
        "name": "Customer API Mock",
        "private": false
      }
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "mock": {
        "id": "2b3c4d5e-6f70-8192-a3b4-c5d6e7f80910",
        "uid": "12345678-2b3c4d5e-6f70-8192-a3b4-c5d6e7f80910",
        "name": "Customer API Mock",
        "collection": "12345678-12ece9e1-2abf-4edc-8e34-de66e74e6e3d",
        "environment": "12345678-7a9b3c1d-4e5f-6071-8290-aabbccddeeff",
        "mockUrl": "https://2b3c4d5e-6f70-8192-a3b4-c5d6e7f80910.mock.pstmn.io",
        "private": false,
        "createdAt": "2026-05-15T10:11:12.000Z"
      }
    }
  }
}