BoldSales

API Documentation

Add file to a pipeline record

post/api/v1/pipelines/records/{recordId}/files

Adds a file to an existing pipeline record by ID.

Code snippet

curl -X 'POST' \
  'https://{yourdomain}/api/v1/pipelines/records/{recordId}/files' \
  -H "accept: text/plain"
  -H "x-api-version: 1.0"
  -H "x-api-key: {your API key}"
  -H "Content-Type: multipart/form-data"
  -F "[email protected];type=application/json"

Path parameters

recordIdintegerRequiredThe unique identifier of the pipeline record to which the file will be attached.

Request body

filestringRequiredThe file to attach to the pipeline record. Supported input format: binary. The maximum supported file size is 20 MB.

Example response

200 OK

{
  "message": "File uploaded successfully."
}