---
title: "Share financial report with an agent"
method: POST
path: "/customers/{id}/files/financial-report/share-with-agent"
---

# Share financial report with an agent

`POST /customers/{id}/files/financial-report/share-with-agent`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/{id}/files/financial-report/share-with-agent`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `read:connections`

## Path parameters

- `id` string, required

## Request body

- object
  - `file` string, required: Base64 encoded PDF file
  - `sessionId` string, required: Session ID of the agent

## Response `204`

File shared successfully

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Customer or agent not found
- `500`: Internal server error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
