Attach file to a specific customer.

Endpoint URL


Authentication and rate limits

Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request POST \
  --url 'https://{{base_url}}/api/v2/customer_attachment \
  --header 'Authorization: Bearer $BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '$JSON'

Request Syntax

    "file_id": integer

Body Parameters

  • company (integer) --

    The ID of the specific company your API is calling. For accounts with only one company, the default value is 1.
    To lookup a specific company ID, see the List Company API.

  • customer_id (integer) --

    The ID of the customer. <
    To lookup a specific asset ID, see the List Customer API.

  • file_type (string) --

    Specify the type of attachment to be added to an asset.
    Options: attachments

  • file_id (integer) --

    The ID of the file that was uploaded. <
    To lookup a specific file ID, see the List File API.

Response Syntax

  "id": integer,
  "type": "nda_attach"|"msa_attach"|"additional_attachments",
  "company": integer,
  "file": "string",
  "customer": integer