How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

BTCPay Server Files API

File operations

BTCPay Server Files API is one of 31 APIs that BTCPay Server publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include File. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, a GitHub repository, authentication docs, and rate-limit docs.

This API exposes 4 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.0.0, at version v1.

Requests are made against a single base URL, https://{btcpay-host}.

4 operations 2 paths 2 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
v1
Base URL
https://{btcpay-host}/api/v1
Authentication
API Key, HTTP Basic
License
Resource Areas
1

Authentication & Security 2

BTCPay Server Files API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (API_Key). It accepts HTTP basic authentication (Basic). By default, every request must be authenticated.

  • API_Key — BTCPay Server API key. Format: 'token {apiKey}'
  • Basic — HTTP Basic Authentication with email and password

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Files 4

File operations

GET
/api/v1/files
Get all files
Files_GetFiles → 200401
POST
/api/v1/files
Uploads a file
Files_UploadFile body → 200415
GET
/api/v1/files/{fileId}
Get file
Files_GetFile 1 param → 200401
DELETE
/api/v1/files/{fileId}
Delete file
Files_DeleteFile 1 param → 200404

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed is FileData (7 properties). Each schema is shown below with its type and property counts.

UnixTimestamp
number
A unix timestamp in seconds
FileData
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

btcpay-files-api-openapi.yml Raw ↑

Other APIs BTCPay Server publishes across the network.

BTCPay Server API Keys API
BTCPay Server Apps API
BTCPay Server Authorization API
BTCPay Server Crowdfund API
BTCPay Server Health API
BTCPay Server Invoices API
BTCPay Server Lightning address API
BTCPay Server Lightning (Internal Node) API
BTCPay Server Lightning (Store) API
BTCPay Server Miscelleneous API
BTCPay Server Notifications (Current User) API
BTCPay Server Payment Requests API
Where this information came from

This is an independent, third-party profile of BTCPay Server Files API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.