---
title: "Upload files to an account"
method: POST
path: "/accounts/{id}/files"
tags: ["accounts"]
---

# Upload files to an account

`POST /accounts/{id}/files`

Uploads one or more files to an account by ID or external ID.

**Rate limit:** 30 requests per minute

## Path parameters

- `id` string, required

## Response `200`

- UploadAccountFileResponseBody
  - `data` Attachment[] — The data payload of the response.
    - `description` string — The description of the attachment.
    - `id` string — The ID of the attachment.
    - `name` string — The name of the attachment.
    - `url` string — The URL of the attachment.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `500` — An unexpected internal error occurred.

## Changes

- **2026-08-28** `fe3adb90ea45` — 1 info
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/usepylon/apis/pylon-api/changes/accounts/:id/files/post.md)

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/cef2ab0dd800/schema)
