Skip to content

Document batch add contacts to companies API endpoint#524

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/pr-16249-batch-add-contacts-api
Open

Document batch add contacts to companies API endpoint#524
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/pr-16249-batch-add-contacts-api

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Documents the new POST /companies/batch/addcontacts endpoint for assigning multiple contacts to multiple companies in a single request. Includes request/response format, property descriptions, and per-item status codes.

Trigger Events


Tip: Point @Promptless at some of your docs debt and have it clean them up in the background 🧹

Document the new POST /companies/batch/addcontacts endpoint that assigns
multiple contacts to multiple companies in a single request. Include
request format, response structure, property descriptions, and per-item
status codes.

.. vale off

Batch Add Contacts to Companies

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New batch API endpoint POST /companies/batch/addcontacts added in PR #16249. Implementation is in CompanyApiController::batchAddContactsAction and BatchCompanyContactAssignmentModel::process. The endpoint requires lead:leads:editown or lead:leads:editother permission and returns per-item status codes for each contact-company assignment.

Source: mautic/mautic#16249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant