No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Mentions Completions
Information about users and groups to mention in a feed
item body or comment body. Use this resource to generate a list of
proposed mentions that a user can choose from. A mention is an “@”
character followed by a user or group name. When a user or group is
mentioned, they receive a notification.
- Resource
1/chatter/mentions/completions- Available since version
- 29.0
- HTTP methods
- GET, HEAD
- Request parameters for GET
-
- Response body for GET
- Mention Completion Page
- Example for GET
- This example specifies a feed item ID in the contextId parameter to request mention
completions for a comment on the feed item:
1GET /chatter/mentions/completions?contextId=0D5D0000000Hwky&q=g - This is the response body:
1{ 2 "currentPageUrl": "/services/data/v30.0/chatter/mentions/completions?contextId=0D5D0000000Hwky&q=g", 3 "mentionCompletions": [ 4 { 5 "additionalLabel": null, 6 "description": "VP Sales", 7 "name": "Gordon Johnson", 8 "photoUrl": "https://instance_name/profilephoto/729D00000000LJL/T", 9 "recordId": "005D0000001LLO1IAO" 10 }, 11 { 12 "additionalLabel": null, 13 "description": "A place for constructive cr...", 14 "name": "Airing of Grievances", 15 "photoUrl": "https://instance_name/profilephoto/0F9/T", 16 "recordId": "0F9D00000000izfKAA" 17 } 18 ], 19 "nextPageUrl": null, 20 "previousPageUrl": null 21}