Description
Documentation for adding multiple contacts to a segment states the following:
| Name |
Type |
Description |
contactIds |
array |
Required. Array of Contact IDs to add to the Segment |
However, sending a request with contactIds as a parameter returns a 400 error. I discovered that sending ids instead of contactsIds works (tested on n8n as shown in the attached screenshot):
Relevant Documentation URL
https://devdocs.mautic.org/en/7.0/rest_api/segments.html#add-contacts-to-segment
Are you willing to help us fix this by making a pull request?
Yes, but I need help
Suggestions (Optional)
I'd suggest to replace contactIds with ids, but I'm not sure if this is the intended behavior
Screenshots or Screen Recordings (Optional)
No response
Description
Documentation for adding multiple contacts to a segment states the following:
contactIdsHowever, sending a request with
contactIdsas a parameter returns a 400 error. I discovered that sendingidsinstead ofcontactsIdsworks (tested on n8n as shown in the attached screenshot):Relevant Documentation URL
https://devdocs.mautic.org/en/7.0/rest_api/segments.html#add-contacts-to-segment
Are you willing to help us fix this by making a pull request?
Yes, but I need help
Suggestions (Optional)
I'd suggest to replace
contactIdswithids, but I'm not sure if this is the intended behaviorScreenshots or Screen Recordings (Optional)
No response