---
title: "Upload Portal Referral Attachment"
method: POST
path: "/portal/referrals/attachments"
tags: ["Referral Portal", "Referral Portal"]
---

# Upload Portal Referral Attachment

`POST /portal/referrals/attachments`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/portal/referrals/attachments`
- Auth: none declared

Upload one photo or document for a referral the partner is about to submit.

The returned id goes in the submit's attachment_ids; until then the file
belongs to no referral. Photos, PDFs and Word documents up to 25MB.

## Response `200`

Successful Response

- ReferralAttachmentResponse
  - `referral_attachment_id` string, uuid, required
  - `doc_type` string, required
  - `file_name` string, required
  - `content_type` string, nullable
  - `size_bytes` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `b3a39dc007df`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openintake/apis/fastapi/changes/portal/referrals/attachments/post.md)

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/openintake/apis/fastapi/revisions/71fe7bdfd1b0?raw)
