{
  "info": {
    "_postman_id": "c4cde209-ea2f-447a-acca-55eaab9693ce",
    "name": "BetterCloud Platform Events API",
    "description": "The BetterCloud Platform API provides REST API access for managing SaaS application operations, automated workflows, user lifecycle management, and security policies across enterprise SaaS environments. It enables IT and security teams to programmatically manage users, groups, directories, and automation workflows across 100+ integrated SaaS applications.\n\nContact Support:\n Name: BetterCloud Developer Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:12:07.000Z",
    "updatedAt": "2026-07-28T01:12:07.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c4cde209-ea2f-447a-acca-55eaab9693ce"
  },
  "item": [
    {
      "name": "events",
      "item": [
        {
          "name": "BetterCloud List Events",
          "id": "e1a44480-fa7a-42c7-83ea-840e7895a388",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/events?page=<integer>&from=<dateTime>&to=<dateTime>&type=<string>&user_id=<string>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "events"
              ],
              "query": [
                {
                  "description": "Page number.",
                  "key": "page",
                  "value": "<integer>"
                },
                {
                  "description": "Start date for event filter (ISO 8601).",
                  "key": "from",
                  "value": "<dateTime>"
                },
                {
                  "description": "End date for event filter (ISO 8601).",
                  "key": "to",
                  "value": "<dateTime>"
                },
                {
                  "description": "Filter by event type.",
                  "key": "type",
                  "value": "<string>"
                },
                {
                  "description": "Filter events for a specific user.",
                  "key": "user_id",
                  "value": "<string>"
                }
              ]
            },
            "description": "Returns a paginated list of audit events and activity logs."
          },
          "response": [
            {
              "id": "6e5e0d61-8971-42e4-b778-05a207036438",
              "name": "Paginated list of events.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-Key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/events?page=<integer>&from=<dateTime>&to=<dateTime>&type=<string>&user_id=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "events"
                  ],
                  "query": [
                    {
                      "description": "Page number.",
                      "key": "page",
                      "value": "<integer>"
                    },
                    {
                      "description": "Start date for event filter (ISO 8601).",
                      "key": "from",
                      "value": "<dateTime>"
                    },
                    {
                      "description": "End date for event filter (ISO 8601).",
                      "key": "to",
                      "value": "<dateTime>"
                    },
                    {
                      "description": "Filter by event type.",
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter events for a specific user.",
                      "key": "user_id",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"type\": \"<string>\",\n      \"actor_email\": \"<email>\",\n      \"target_email\": \"<email>\",\n      \"description\": \"<string>\",\n      \"occurred_at\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"type\": \"<string>\",\n      \"actor_email\": \"<email>\",\n      \"target_email\": \"<email>\",\n      \"description\": \"<string>\",\n      \"occurred_at\": \"<dateTime>\"\n    }\n  ],\n  \"meta\": {\n    \"page\": \"<integer>\",\n    \"per_page\": \"<integer>\",\n    \"total\": \"<integer>\"\n  }\n}",
              "createdAt": "2026-07-28T01:12:07.000Z",
              "updatedAt": "2026-07-28T01:12:07.000Z",
              "uid": "35240-6e5e0d61-8971-42e4-b778-05a207036438"
            }
          ],
          "createdAt": "2026-07-28T01:12:07.000Z",
          "updatedAt": "2026-07-28T01:12:07.000Z",
          "uid": "35240-e1a44480-fa7a-42c7-83ea-840e7895a388"
        }
      ],
      "id": "206b52cf-f69e-4b4d-b014-9b489c19f049",
      "createdAt": "2026-07-28T01:12:07.000Z",
      "updatedAt": "2026-07-28T01:12:07.000Z",
      "uid": "35240-206b52cf-f69e-4b4d-b014-9b489c19f049"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-API-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.bettercloud.com/v1"
    }
  ]
}