attachments

Get attachment details

Changed on

Get details about an attachment.

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/{attachmentId}

Request

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

Path parameters

attachmentIdstring required

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

Example:{{attachment_id}}

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 attachment details 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.

Changes