{
  "info": {
    "_postman_id": "e51b1f9f-0784-4d6b-b355-22f455297029",
    "name": "Amigo Account Intake Upload API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:01:28.000Z",
    "updatedAt": "2026-07-28T01:01:29.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-e51b1f9f-0784-4d6b-b355-22f455297029"
  },
  "item": [
    {
      "name": "upload",
      "item": [
        {
          "name": "{link_token}",
          "item": [
            {
              "name": "info",
              "item": [
                {
                  "name": "Get Link Info",
                  "id": "47947888-6f64-46cc-8f35-770809749fce",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/upload/:link_token/info",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "upload",
                        ":link_token",
                        "info"
                      ],
                      "variable": [
                        {
                          "id": "aaaa7a68-1b4a-41b1-9654-39b68a79fc09",
                          "key": "link_token",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    }
                  },
                  "response": [
                    {
                      "id": "06da3a5f-fb9b-470f-b8bb-d0350ec65780",
                      "name": "Link metadata",
                      "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}}/upload/:link_token/info",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "info"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"display_name\": \"<string>\",\n  \"customer_slug\": \"<string>\",\n  \"max_upload_bytes\": \"<integer>\",\n  \"allowed_content_types\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-06da3a5f-fb9b-470f-b8bb-d0350ec65780"
                    },
                    {
                      "id": "fbe4a7f4-d6aa-4ad7-8bc3-bfd46276bfad",
                      "name": "Invalid token",
                      "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}}/upload/:link_token/info",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "info"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error_code\": \"link_expired\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-fbe4a7f4-d6aa-4ad7-8bc3-bfd46276bfad"
                    },
                    {
                      "id": "49bc4b7b-a867-42c9-a2c1-1827caa3a817",
                      "name": "Link not found",
                      "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}}/upload/:link_token/info",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "info"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error_code\": \"link_expired\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-49bc4b7b-a867-42c9-a2c1-1827caa3a817"
                    },
                    {
                      "id": "170efae1-0262-4430-bc02-c9bf598161de",
                      "name": "Link expired or exhausted",
                      "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}}/upload/:link_token/info",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "info"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Gone",
                      "code": 410,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error_code\": \"link_expired\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-170efae1-0262-4430-bc02-c9bf598161de"
                    },
                    {
                      "id": "b3470705-dced-46cc-a658-ce70ba60ff7b",
                      "name": "Validation Error",
                      "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}}/upload/:link_token/info",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "info"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                      "code": 422,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-b3470705-dced-46cc-a658-ce70ba60ff7b"
                    },
                    {
                      "id": "0b27571c-6d89-40d9-ae67-ecf0b56f03aa",
                      "name": "Rate limited",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/info",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "info"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-0b27571c-6d89-40d9-ae67-ecf0b56f03aa"
                    }
                  ],
                  "createdAt": "2026-07-28T01:01:29.000Z",
                  "updatedAt": "2026-07-28T01:01:29.000Z",
                  "uid": "35240-47947888-6f64-46cc-8f35-770809749fce"
                }
              ],
              "id": "fc580354-40f9-4000-bbf3-3422ec0f3dc9",
              "createdAt": "2026-07-28T01:01:29.000Z",
              "updatedAt": "2026-07-28T01:01:29.000Z",
              "uid": "35240-fc580354-40f9-4000-bbf3-3422ec0f3dc9"
            },
            {
              "name": "files",
              "item": [
                {
                  "name": "Receive Upload",
                  "id": "d26e55b2-970c-43ea-a1b1-8bc97e3636d5",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "description": "(Required) ",
                        "key": "x-amigo-intake-filename",
                        "value": "<string>"
                      },
                      {
                        "description": "(Required) ",
                        "key": "x-amigo-intake-content-type",
                        "value": "<string>"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/upload/:link_token/files",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "upload",
                        ":link_token",
                        "files"
                      ],
                      "variable": [
                        {
                          "id": "30d61e41-685a-4752-a6cf-02c29a46929a",
                          "key": "link_token",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    }
                  },
                  "response": [
                    {
                      "id": "312d9ce6-ae76-4134-828d-3754b2007057",
                      "name": "File uploaded successfully",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-filename",
                            "value": "<string>"
                          },
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-content-type",
                            "value": "<string>"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/files",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "files"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<string>\",\n  \"filename\": \"<string>\",\n  \"sha256\": \"<string>\",\n  \"size_bytes\": \"<integer>\",\n  \"scan_status\": \"<string>\",\n  \"duplicate_of\": {\n    \"id\": \"<string>\",\n    \"received_at\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-312d9ce6-ae76-4134-828d-3754b2007057"
                    },
                    {
                      "id": "47c7517b-be91-46bc-bc59-61f40c745916",
                      "name": "Link not found",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-filename",
                            "value": "<string>"
                          },
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-content-type",
                            "value": "<string>"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/files",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "files"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-47c7517b-be91-46bc-bc59-61f40c745916"
                    },
                    {
                      "id": "06320876-b20e-4d49-a46c-5fc23d4984c4",
                      "name": "Link expired",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-filename",
                            "value": "<string>"
                          },
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-content-type",
                            "value": "<string>"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/files",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "files"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Gone",
                      "code": 410,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-06320876-b20e-4d49-a46c-5fc23d4984c4"
                    },
                    {
                      "id": "8dffa842-2066-4e6b-ba7c-e32316b4d1bc",
                      "name": "File too large",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-filename",
                            "value": "<string>"
                          },
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-content-type",
                            "value": "<string>"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/files",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "files"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Request Entity Too Large",
                      "code": 413,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-8dffa842-2066-4e6b-ba7c-e32316b4d1bc"
                    },
                    {
                      "id": "d81a0ffa-c33f-4e8d-816a-c2dcf8b823c0",
                      "name": "Invalid filename or content type",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-filename",
                            "value": "<string>"
                          },
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-content-type",
                            "value": "<string>"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/files",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "files"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                      "code": 422,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-d81a0ffa-c33f-4e8d-816a-c2dcf8b823c0"
                    },
                    {
                      "id": "0d04231e-115d-43c7-a87c-8c27140eff19",
                      "name": "Rate limited or upload limit reached",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-filename",
                            "value": "<string>"
                          },
                          {
                            "description": "(Required) ",
                            "key": "x-amigo-intake-content-type",
                            "value": "<string>"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/upload/:link_token/files",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "upload",
                            ":link_token",
                            "files"
                          ],
                          "variable": [
                            {
                              "key": "link_token"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T01:01:29.000Z",
                      "updatedAt": "2026-07-28T01:01:29.000Z",
                      "uid": "35240-0d04231e-115d-43c7-a87c-8c27140eff19"
                    }
                  ],
                  "createdAt": "2026-07-28T01:01:29.000Z",
                  "updatedAt": "2026-07-28T01:01:29.000Z",
                  "uid": "35240-d26e55b2-970c-43ea-a1b1-8bc97e3636d5"
                }
              ],
              "id": "5b675c07-f8a7-42d9-9081-87e4e7760fa1",
              "createdAt": "2026-07-28T01:01:29.000Z",
              "updatedAt": "2026-07-28T01:01:29.000Z",
              "uid": "35240-5b675c07-f8a7-42d9-9081-87e4e7760fa1"
            }
          ],
          "id": "27aa38f7-aebe-4fcd-98bb-ae1f94f46c28",
          "createdAt": "2026-07-28T01:01:29.000Z",
          "updatedAt": "2026-07-28T01:01:29.000Z",
          "uid": "35240-27aa38f7-aebe-4fcd-98bb-ae1f94f46c28"
        }
      ],
      "id": "bf0a23e7-4957-4a65-9790-e0a03712a47f",
      "createdAt": "2026-07-28T01:01:29.000Z",
      "updatedAt": "2026-07-28T01:01:29.000Z",
      "uid": "35240-bf0a23e7-4957-4a65-9790-e0a03712a47f"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.amigo.ai"
    }
  ]
}