Mentions Validations

Information about whether the specified mentions are valid for the context user. For example, the context user can’t mention private groups he doesn’t belong to. If such a group were included in the list of mention validations, the hasErrors property of the Mention Validations response body would be true and the group would have a validationStatus of Disallowed in its mention validation.
Resource
/chatter/mentions/validations
/connect/communities/communityId/chatter/mentions/validations
Available since version
29.0
Requires Chatter
Yes
HTTP methods
GET, HEAD
Request parameters for GET
Parameter Name Type Description Required or Optional Available Since
parentId String The feed item parent ID. Required 29.0
recordIds String[] A comma-separated list of IDs to be mentioned. The maximum value is 25. Required 29.0
visibility String Type of users who can see a feed item.
  • AllUsers—Visibility is not limited to internal users.
  • InternalUsers—Visibility is limited to internal users.
Required 29.0
Response body for GET
Mention Validation

Usage

First make a request to Mentions Completions to get a list of proposed mentions. Pass those proposed mentions to the Mentions Validations resource to determine whether the mentions are valid for the context user.