dvdsmpsn
(David @ David Simpson Apps)
May 11, 2024, 12:57pm
1
In my app, I’m trying to create an update that mentions someone else, so that they can perform a task stated in the update.
I’m seeing that I can use the create_update
mutation to create an update, e.g:
mutation {
create_update (
item_id: "2801294194",
body: "<p>Hello <a href=\"https://mycompany.monday.com/users/38005153\" data-mention-type=\"User\">@john@mycompany.com</a></p>"
) {
id
}
}
This “looks right”, but is missing the actual mention mechanism, so the user does not see the mention under “I was mentioned” in the inbox:
If I look at the browser console when posting an update in the UI, I see the following call:
POST https://mycompany.monday.com/posts
BODY (as FormData):
post[item_id]: 2801294194
post[kind]: update
post[body]: <p>Mentioning <a class="user_mention_editor router"
href="https://mycompany.monday.com/users/38005153-john-mycompany-com" data-
mention-type="User" data-mention-
id="30515803">@john@mycompany.com</a> from the UI</p>
mentions: [{"type":"User","id":"38005153"}]
asset_id: []
gifs: []
version: 1
theme: light
So, the platform uses a different endpoint than the public GraphQL endpoint, and it also adds the mentions
object.
Looking in the API playground, I can’t see any way to add mentions to the create_update
mutation.
How do I do this?
If I can’t, please convert this into a feature request.
Cc: @Matias.Monday @dipro
Hello there @dvdsmpsn ,
This is not possible via API (to mention someone). I have turned this into a request.
Regarding your last question, it will be on behalf of the user whose token is being used for the call.
Let me know if you have any questions!
Cheers,
Matias
1 Like
It looks like @-mentioned functionality is starting to be implemented in the API. Perhaps this is relevant to what you were wishing to achieve.
2025-07 Hotfixes April 28th, 2025: For column value exception errors, the column_type property no longer returns "Column" appended to the column type. Read more here . May 19th, 2025: All API responses now contain a unique request ID. Read more here...
🏷️ API version: 2025-07 You can now mention users, teams, boards, and projects when creating updates using the new mentions_list argument in the create_update mutation. 👉 Read more here ! mutation { create_update (item_id: 9876543210, body: "This...
1 Like
AnishJ
(Anish)
June 10, 2025, 9:45am
6
What are the use cases for this?
AnishJ
(Anish)
June 10, 2025, 9:47am
7
oh ok you mentioned that in the first post
dvdsmpsn
(David @ David Simpson Apps)
June 10, 2025, 11:41am
8
@anish idk, maybe @mention someone when something changes in an external system, and add an update and link to the external change?
1 Like
For me there are situations in which I will be using the API to add an update to an item, and I want to draw attention of one or more staff to the update with a simple @mention
.
2 Likes