Skip to content

[DOCS]: "contactIds" should be replaced with "ids" #555

Description

@hellpe

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):

Image

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
🕰️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions