Skip to main content
POST
/
bills
/
{bill_id}
/
documents
/
presigned-urls
Create Bill Document Upload URLs
curl --request POST \
  --url https://api.meow.com/v1/bills/{bill_id}/documents/presigned-urls \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "files": [
    {
      "filename": "<string>",
      "content_type": "<string>",
      "size": 123
    }
  ]
}
'
{
  "uploads": [
    {
      "url": "<string>",
      "fields": {},
      "object_key": "<string>",
      "filename": "<string>",
      "max_bytes": 123
    }
  ]
}

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
files
BillFileMetadata · object[]
required
Required array length: 1 - 5 elements

Response

Successful Response

uploads
BillPresignedUrlEntry · object[]
required