attachments

Get list of customer attachments

Changed on

Get a list of attachments associated with a customer.

From the response, use downloadLink in a GET request to download the attachment.

curl '{downloadLink}' --header 'sessionId: {session_id}' --output {attachment_name}
get/v3/attachments/customers/{customerId}

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/attachments/customers/{customerId}
  • Auth
    none declared

Path parameters

customerIdstring required

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

Example:{{customer_id}}

Query parameters

maxinteger nullable

Maximum number of results

Example:10
pagestring nullable

Next page of results.

When a list has multiple pages, the nextPage and prevPage values in the response enable you to navigate between the pages of results. Set page as the nextPage or prevPage value for navigation.

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

Get list of customer attachments response

nextPagestring
prevPagestring

Changes