{
  "info": {
    "_postman_id": "f21fc18a-48e5-4919-a652-1932b0918cc2",
    "name": "BetterCloud Platform Events Workflows 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:10.000Z",
    "updatedAt": "2026-07-28T01:12:11.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-f21fc18a-48e5-4919-a652-1932b0918cc2"
  },
  "item": [
    {
      "name": "workflows",
      "item": [
        {
          "name": "{id}",
          "item": [
            {
              "name": "run",
              "item": [
                {
                  "name": "BetterCloud Run Workflow",
                  "id": "17aac578-82af-483c-b16d-a5f5ce2155ef",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"user_ids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/workflows/:id/run",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workflows",
                        ":id",
                        "run"
                      ],
                      "variable": [
                        {
                          "id": "8b4204cf-b655-4451-b1b8-e4b599ae7ebc",
                          "key": "id",
                          "value": "<string>",
                          "description": "(Required) The unique identifier of the workflow."
                        }
                      ]
                    },
                    "description": "Manually triggers a workflow execution for specified users."
                  },
                  "response": [
                    {
                      "id": "f2aae652-f55b-47d2-b928-44014dd0ebf8",
                      "name": "Workflow execution initiated.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-API-Key",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"user_ids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/workflows/:id/run",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workflows",
                            ":id",
                            "run"
                          ],
                          "variable": [
                            {
                              "key": "id"
                            }
                          ]
                        }
                      },
                      "status": "Accepted",
                      "code": 202,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": {\n    \"execution_id\": \"<string>\",\n    \"workflow_id\": \"<string>\",\n    \"status\": \"failed\",\n    \"started_at\": \"<dateTime>\"\n  }\n}",
                      "createdAt": "2026-07-28T01:12:11.000Z",
                      "updatedAt": "2026-07-28T01:12:11.000Z",
                      "uid": "35240-f2aae652-f55b-47d2-b928-44014dd0ebf8"
                    }
                  ],
                  "createdAt": "2026-07-28T01:12:11.000Z",
                  "updatedAt": "2026-07-28T01:12:11.000Z",
                  "uid": "35240-17aac578-82af-483c-b16d-a5f5ce2155ef"
                }
              ],
              "id": "8f109e37-c772-47f2-a880-7faff1a6975b",
              "createdAt": "2026-07-28T01:12:11.000Z",
              "updatedAt": "2026-07-28T01:12:11.000Z",
              "uid": "35240-8f109e37-c772-47f2-a880-7faff1a6975b"
            },
            {
              "name": "BetterCloud Get Workflow",
              "id": "2d26a0d8-ab0c-44da-b3db-37657b37428e",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workflows/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workflows",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "55eb0c11-97c7-4b7e-9c99-5b2c16cae725",
                      "key": "id",
                      "value": "<string>",
                      "description": "(Required) The unique identifier of the workflow."
                    }
                  ]
                },
                "description": "Returns a single workflow by ID."
              },
              "response": [
                {
                  "id": "cf12a065-e47e-4120-b2e0-7148986a73b2",
                  "name": "Workflow details.",
                  "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}}/workflows/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workflows",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"status\": \"draft\",\n    \"trigger_type\": \"scheduled\",\n    \"action_count\": \"<integer>\",\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\"\n  }\n}",
                  "createdAt": "2026-07-28T01:12:11.000Z",
                  "updatedAt": "2026-07-28T01:12:11.000Z",
                  "uid": "35240-cf12a065-e47e-4120-b2e0-7148986a73b2"
                },
                {
                  "id": "7ed498bc-9001-4bb3-887c-99e420a6650e",
                  "name": "Workflow not found.",
                  "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}}/workflows/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workflows",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"code\": \"<string>\",\n  \"id\": \"<string>\",\n  \"href\": \"<string>\",\n  \"reason\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:12:11.000Z",
                  "updatedAt": "2026-07-28T01:12:11.000Z",
                  "uid": "35240-7ed498bc-9001-4bb3-887c-99e420a6650e"
                }
              ],
              "createdAt": "2026-07-28T01:12:11.000Z",
              "updatedAt": "2026-07-28T01:12:11.000Z",
              "uid": "35240-2d26a0d8-ab0c-44da-b3db-37657b37428e"
            },
            {
              "name": "BetterCloud Delete Workflow",
              "id": "7c24a074-dd23-4d94-bf6a-e6df98dd395c",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/workflows/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workflows",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "67b8922d-ddf6-4a0e-a352-12898202ea68",
                      "key": "id",
                      "value": "<string>",
                      "description": "(Required) The unique identifier of the workflow."
                    }
                  ]
                },
                "description": "Deletes an automation workflow."
              },
              "response": [
                {
                  "id": "e91d68a3-86d1-403d-885c-cd3005a3e229",
                  "name": "Workflow deleted successfully.",
                  "originalRequest": {
                    "method": "DELETE",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "X-API-Key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workflows/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workflows",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "No Content",
                  "code": 204,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:12:11.000Z",
                  "updatedAt": "2026-07-28T01:12:11.000Z",
                  "uid": "35240-e91d68a3-86d1-403d-885c-cd3005a3e229"
                },
                {
                  "id": "3a0539f1-5c2d-4814-83c5-ca46045f3a58",
                  "name": "Workflow not found.",
                  "originalRequest": {
                    "method": "DELETE",
                    "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}}/workflows/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workflows",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"code\": \"<string>\",\n  \"id\": \"<string>\",\n  \"href\": \"<string>\",\n  \"reason\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:12:11.000Z",
                  "updatedAt": "2026-07-28T01:12:11.000Z",
                  "uid": "35240-3a0539f1-5c2d-4814-83c5-ca46045f3a58"
                }
              ],
              "createdAt": "2026-07-28T01:12:11.000Z",
              "updatedAt": "2026-07-28T01:12:11.000Z",
              "uid": "35240-7c24a074-dd23-4d94-bf6a-e6df98dd395c"
            }
          ],
          "id": "cb4e2cad-50f2-42fa-9bae-63f435ac8bcb",
          "createdAt": "2026-07-28T01:12:11.000Z",
          "updatedAt": "2026-07-28T01:12:11.000Z",
          "uid": "35240-cb4e2cad-50f2-42fa-9bae-63f435ac8bcb"
        },
        {
          "name": "BetterCloud List Workflows",
          "id": "eadeef36-f143-4b33-a372-7548d0f0b2a4",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/workflows?page=<integer>&status=draft",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workflows"
              ],
              "query": [
                {
                  "description": "Page number.",
                  "key": "page",
                  "value": "<integer>"
                },
                {
                  "description": "Filter by workflow status.",
                  "key": "status",
                  "value": "draft"
                }
              ]
            },
            "description": "Returns a paginated list of all automation workflows."
          },
          "response": [
            {
              "id": "16e3d7f0-4387-4b24-ac0c-6a5e4bb6feca",
              "name": "Paginated list of workflows.",
              "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}}/workflows?page=<integer>&status=draft",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workflows"
                  ],
                  "query": [
                    {
                      "description": "Page number.",
                      "key": "page",
                      "value": "<integer>"
                    },
                    {
                      "description": "Filter by workflow status.",
                      "key": "status",
                      "value": "draft"
                    }
                  ]
                }
              },
              "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      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"status\": \"draft\",\n      \"trigger_type\": \"event\",\n      \"action_count\": \"<integer>\",\n      \"created_at\": \"<dateTime>\",\n      \"updated_at\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"status\": \"draft\",\n      \"trigger_type\": \"scheduled\",\n      \"action_count\": \"<integer>\",\n      \"created_at\": \"<dateTime>\",\n      \"updated_at\": \"<dateTime>\"\n    }\n  ],\n  \"meta\": {\n    \"page\": \"<integer>\",\n    \"per_page\": \"<integer>\",\n    \"total\": \"<integer>\"\n  }\n}",
              "createdAt": "2026-07-28T01:12:11.000Z",
              "updatedAt": "2026-07-28T01:12:11.000Z",
              "uid": "35240-16e3d7f0-4387-4b24-ac0c-6a5e4bb6feca"
            }
          ],
          "createdAt": "2026-07-28T01:12:11.000Z",
          "updatedAt": "2026-07-28T01:12:11.000Z",
          "uid": "35240-eadeef36-f143-4b33-a372-7548d0f0b2a4"
        },
        {
          "name": "BetterCloud Create Workflow",
          "id": "cad708c0-b23c-4c0d-9310-4157b6e37256",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"trigger_type\": \"scheduled\",\n  \"status\": \"active\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/workflows",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workflows"
              ]
            },
            "description": "Creates a new automation workflow."
          },
          "response": [
            {
              "id": "13266e0b-52c5-4d76-b438-35a06766d26d",
              "name": "Workflow created successfully.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"trigger_type\": \"scheduled\",\n  \"status\": \"active\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workflows"
                  ]
                }
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"status\": \"draft\",\n    \"trigger_type\": \"scheduled\",\n    \"action_count\": \"<integer>\",\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\"\n  }\n}",
              "createdAt": "2026-07-28T01:12:11.000Z",
              "updatedAt": "2026-07-28T01:12:11.000Z",
              "uid": "35240-13266e0b-52c5-4d76-b438-35a06766d26d"
            }
          ],
          "createdAt": "2026-07-28T01:12:11.000Z",
          "updatedAt": "2026-07-28T01:12:11.000Z",
          "uid": "35240-cad708c0-b23c-4c0d-9310-4157b6e37256"
        }
      ],
      "id": "49355c7f-67b0-4a88-a387-b35e32a2cb49",
      "createdAt": "2026-07-28T01:12:11.000Z",
      "updatedAt": "2026-07-28T01:12:11.000Z",
      "uid": "35240-49355c7f-67b0-4a88-a387-b35e32a2cb49"
    }
  ],
  "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"
    }
  ]
}