Skip to main content
POST
Create Bill Invoice Upload URL

Authorizations

x-api-key
string
header
required

Your Meow API key, sent in the x-api-key header for authentication.

Headers

x-entity-id
string<uuid>

Optional entity_id to scope requests to a specific entity.

Path Parameters

bill_id
string<uuid>
required

The bill ID.

Body

application/json

Details of a file you intend to upload, used to mint its upload URL.

filename
string
required

Name to store the document under, shown alongside the bill.

content_type
string
required

MIME type of the file. Only PDF, JPEG, PNG, HEIC, and DOCX are accepted.

size
integer
required

Size of the file in bytes. Must be between 1 KB and 50 MB, and must match what you actually upload — the upload URL enforces the same range.

Response

Successful Response

uploads
BillPresignedUrlEntry · object[]
required

One upload target per requested file, in the order you sent them.