BoldSales

API Documentation

Add collaborators to a pipeline record

patch/api/v1/pipelines/records/{recordId}/collaborators

Adds one or more collaborators to the specified pipeline record in a single request. Collaborators are given the same set of permissions as the owner of the pipeline record.

Code snippet

curl -X 'PATCH' \
  'https://{yourdomain}/api/v1/pipelines/records/{recordId}/collaborators' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '[
    {
      "id": 101
    },
    {
      "id": 102
    },
    {
      "id": 103
    }
  ]'

Path parameters

recordIdlongRequiredThe unique identifier of the pipeline record.

Request body

idintegerRequiredThe unique identifier of the user to be added as a collaborator.

Example response

200 Success

{
  "message": "Collaborator(s) added successfully."
}