{
  "info": {
    "_postman_id": "a8864008-df5d-4976-9cc5-fc5bb7e7cb0c",
    "name": "Fortify on Demand Alert Definitions File Tokens API",
    "description": "REST API for Fortify on Demand (FoD), the cloud-based application security testing service from OpenText. Provides programmatic access to manage applications, releases, initiate static, dynamic, and mobile scans, retrieve vulnerability results, and manage tenant-level settings. Supports OAuth2 client credentials and resource owner password grant flows for authentication.\n\nContact Support:\n Name: OpenText Fortify Support\n Email: fortify-support@microfocus.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:42:56.000Z",
    "updatedAt": "2026-07-28T01:42:57.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-a8864008-df5d-4976-9cc5-fc5bb7e7cb0c"
  },
  "item": [
    {
      "name": "fileTokens",
      "item": [
        {
          "name": "Fortify Create file token",
          "id": "e24be2fe-d5ee-4f42-ad01-04f14c651148",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"fileTokenType\": \"REPORT_FILE\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/fileTokens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "fileTokens"
              ]
            },
            "description": "Creates a single-use file transfer token for uploading or downloading artifacts."
          },
          "response": [
            {
              "id": "97b9708e-da3a-4c9c-b446-dad819ebfd64",
              "name": "File token 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: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileTokenType\": \"REPORT_FILE\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/fileTokens",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fileTokens"
                  ]
                }
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": {\n    \"token\": \"<string>\",\n    \"fileTokenType\": \"REPORT_FILE\"\n  },\n  \"count\": \"<integer>\",\n  \"responseCode\": \"<integer>\"\n}",
              "createdAt": "2026-07-28T01:42:57.000Z",
              "updatedAt": "2026-07-28T01:42:57.000Z",
              "uid": "35240-97b9708e-da3a-4c9c-b446-dad819ebfd64"
            },
            {
              "id": "743a0a50-c5a2-4d3f-8bac-c39b20f74c5e",
              "name": "Bad request - invalid parameters or request body",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileTokenType\": \"REPORT_FILE\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/fileTokens",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fileTokens"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errorCode\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"data\": {}\n}",
              "createdAt": "2026-07-28T01:42:57.000Z",
              "updatedAt": "2026-07-28T01:42:57.000Z",
              "uid": "35240-743a0a50-c5a2-4d3f-8bac-c39b20f74c5e"
            },
            {
              "id": "d578f171-b572-4b8d-8ddd-2cdfc4cba1e9",
              "name": "Unauthorized - authentication required or token invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileTokenType\": \"REPORT_FILE\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/fileTokens",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fileTokens"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errorCode\": \"<integer>\",\n  \"message\": \"<string>\",\n  \"data\": {}\n}",
              "createdAt": "2026-07-28T01:42:57.000Z",
              "updatedAt": "2026-07-28T01:42:57.000Z",
              "uid": "35240-d578f171-b572-4b8d-8ddd-2cdfc4cba1e9"
            }
          ],
          "createdAt": "2026-07-28T01:42:57.000Z",
          "updatedAt": "2026-07-28T01:42:57.000Z",
          "uid": "35240-e24be2fe-d5ee-4f42-ad01-04f14c651148"
        }
      ],
      "id": "237e3e77-4dce-4d97-8dd0-f591b35cdb48",
      "createdAt": "2026-07-28T01:42:57.000Z",
      "updatedAt": "2026-07-28T01:42:57.000Z",
      "uid": "35240-237e3e77-4dce-4d97-8dd0-f591b35cdb48"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.ams.fortify.com"
    }
  ]
}