v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
attachments

Upload customer attachment

Upload an attachment for an existing customer. The file size limit is 6 MB.

Note: When you upload an attachment, it takes a few minutes for BILL to complete the upload process.

See Documents and attachments in the Guides section for more information, sample requests, and responses.

post/v3/attachments/customers/{customerId}

Path parameters

customerIdstring required

BILL-generated ID of the customer. The value begins with 0cu.

Example:{{customer_id}}

Query parameters

namestring required

File name with extension. For example, to upload a PDF attachment titled business_details, set name as business_details.pdf.

Example:business_details.pdf

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Response

Upload customer attachment response

idstring

BILL-generated ID of the attachment. The value begins with att.

namestring

Attachment name

createdTimestring date-time

Created date and time

downloadLinkstring

URL for downloading the attachment. Use the URL in a GET request to download the attachment.