{
  "info": {
    "_postman_id": "5591fc4f-c40e-428e-8457-a55ce55cf24c",
    "name": "Togai Apis Accounts File Storage API",
    "description": "APIs for Togai App\n\nContact Support:\n Email: engg@togai.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:15:33.000Z",
    "updatedAt": "2026-07-28T03:15:33.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5591fc4f-c40e-428e-8457-a55ce55cf24c"
  },
  "item": [
    {
      "name": "files",
      "item": [
        {
          "name": "{file_id}",
          "item": [
            {
              "name": "download_url",
              "item": [
                {
                  "name": "Get a Download Url for a File",
                  "id": "21876942-95de-4738-8fc7-d4810c519f6b",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id/download_url",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id",
                        "download_url"
                      ],
                      "variable": [
                        {
                          "id": "6c07444a-5623-4bad-ac92-31e95ba4ed01",
                          "key": "file_id",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Get a download url for a file"
                  },
                  "response": [
                    {
                      "id": "6880c74f-4e1a-4456-856a-82f438f496e2",
                      "name": "Response for getting a download url for a file",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"downloadUrl\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-6880c74f-4e1a-4456-856a-82f438f496e2"
                    },
                    {
                      "id": "5e773bdf-f6f6-45da-a103-9b2d9690d200",
                      "name": "Error response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-5e773bdf-f6f6-45da-a103-9b2d9690d200"
                    },
                    {
                      "id": "8710bc83-3c32-4b2d-8abb-b2a74c607bb5",
                      "name": "Error response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-8710bc83-3c32-4b2d-8abb-b2a74c607bb5"
                    },
                    {
                      "id": "cbdfe0be-7b6d-4094-b78f-37a6853b91c6",
                      "name": "Error response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-cbdfe0be-7b6d-4094-b78f-37a6853b91c6"
                    },
                    {
                      "id": "72012610-4433-43a0-b00b-91ee0571aa6e",
                      "name": "Error response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-72012610-4433-43a0-b00b-91ee0571aa6e"
                    },
                    {
                      "id": "02e0327e-efac-44a7-91c6-74aded83b1e5",
                      "name": "Error response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-02e0327e-efac-44a7-91c6-74aded83b1e5"
                    },
                    {
                      "id": "0948aafc-c992-428d-a5ff-b2928255d3f8",
                      "name": "Error response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/files/:file_id/download_url",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "files",
                            ":file_id",
                            "download_url"
                          ],
                          "variable": [
                            {
                              "key": "file_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:15:34.000Z",
                      "updatedAt": "2026-07-28T03:15:34.000Z",
                      "uid": "35240-0948aafc-c992-428d-a5ff-b2928255d3f8"
                    }
                  ],
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-21876942-95de-4738-8fc7-d4810c519f6b"
                }
              ],
              "id": "6b672b01-c536-438c-9edb-f1806193f082",
              "createdAt": "2026-07-28T03:15:34.000Z",
              "updatedAt": "2026-07-28T03:15:34.000Z",
              "uid": "35240-6b672b01-c536-438c-9edb-f1806193f082"
            },
            {
              "name": "Get a File",
              "id": "6408d4f3-2a55-42e6-ab6f-513e79215480",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/files/:file_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files",
                    ":file_id"
                  ],
                  "variable": [
                    {
                      "id": "6f4fd4c1-c118-4a69-9d20-3282148f3902",
                      "key": "file_id",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Get a file"
              },
              "response": [
                {
                  "id": "ffe44539-5b62-44f5-9b75-bd7b6035ff9f",
                  "name": "Redirects to the file url",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Found",
                  "code": 302,
                  "_postman_previewlanguage": "text",
                  "header": [
                    {
                      "disabled": false,
                      "description": {
                        "content": "",
                        "type": "text/plain"
                      },
                      "key": "Location",
                      "value": "<uri>"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-ffe44539-5b62-44f5-9b75-bd7b6035ff9f"
                },
                {
                  "id": "6692066d-933a-466c-bfd2-76f2d088af58",
                  "name": "Error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-6692066d-933a-466c-bfd2-76f2d088af58"
                },
                {
                  "id": "7a4175a3-3ec9-4d90-b0eb-80b0e68793ff",
                  "name": "Error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-7a4175a3-3ec9-4d90-b0eb-80b0e68793ff"
                },
                {
                  "id": "ef4d311b-ed88-42e7-80e0-4907085e19b1",
                  "name": "Error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-ef4d311b-ed88-42e7-80e0-4907085e19b1"
                },
                {
                  "id": "3248a5f2-7571-49ce-8536-6c561951ed75",
                  "name": "Error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-3248a5f2-7571-49ce-8536-6c561951ed75"
                },
                {
                  "id": "001ce58b-c877-4448-b931-8b1ed442b7e5",
                  "name": "Error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Too Many Requests",
                  "code": 429,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-001ce58b-c877-4448-b931-8b1ed442b7e5"
                },
                {
                  "id": "9f0340ef-5f5f-4c3f-9b03-199c6ca77913",
                  "name": "Error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Internal Server Error",
                  "code": 500,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:15:34.000Z",
                  "updatedAt": "2026-07-28T03:15:34.000Z",
                  "uid": "35240-9f0340ef-5f5f-4c3f-9b03-199c6ca77913"
                }
              ],
              "createdAt": "2026-07-28T03:15:34.000Z",
              "updatedAt": "2026-07-28T03:15:34.000Z",
              "uid": "35240-6408d4f3-2a55-42e6-ab6f-513e79215480"
            }
          ],
          "id": "6767245a-543b-4ac2-aafb-624742ac7fdc",
          "createdAt": "2026-07-28T03:15:34.000Z",
          "updatedAt": "2026-07-28T03:15:34.000Z",
          "uid": "35240-6767245a-543b-4ac2-aafb-624742ac7fdc"
        }
      ],
      "id": "dae46040-353d-4143-80e0-90a4f528261c",
      "createdAt": "2026-07-28T03:15:34.000Z",
      "updatedAt": "2026-07-28T03:15:34.000Z",
      "uid": "35240-dae46040-353d-4143-80e0-90a4f528261c"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.togai.com/"
    }
  ]
}