Welcome to the new monday developer community
-
Recently active
Hi, I have a problem with the graphQL API. I tried to create a new item and change a column value, but it’s not working for Date, checkbox and tag (but working for status and text). Here is my GraphQL code for tags: mutation { create_item (board_id: XXXX, group_id: “New”, item_name:“New”, column_values:“{"tags":[1669793, 1816394]}”) { id } } The error code is : { “error_code”: “ColumnValueException”, “status_code”: 400, “error_message”: “change_column_value invalid value”, “error_data”: { “column_value”: “[1669793, 1816394]”, “column_type”: “TagsColumn” } } Thanks a lot for any help !!
Hello, We just started working on an integration with Monday.com and there is something we can’t seem to figure out. Monday users access their workspace via a subdomain like mycompany.monday.com. Is there any way to find out that subdomain through the API? We need this information to be able to build URLs that would link back to the user’s board. If that’s not possible, is there any redirect system in place we could use? We need to be able to send our users back to their Monday workspace, and we also need the info to be able to create labels that differentiate between Monday workspaces if our users were to integrate with more than one workspace. Any help greatly appreciated, Denis
I am trying to pull email from GMail (Business) and create an item on a board with the contents of each message. To begin on this I’m just trying to create a new item on a board with test data in multiple columns. I found a previous message (now closed) that started to address this but the ending solution was not posted to the thread: Creating an item with columns populated What I have now is the following: mutation { create_item ( board_id: , group_id: “Incoming”, item_name: “NEW API created item”, column_values: “{ "Description":"Hello world", "email" :{"email":"test@test.com","text":"test@test.com"} }” ) { id } } It completes and creates an item, but the Description column is not populated. The previous message indicates that one has to use the numeric ID of the column instead of the “friendly” name, but I don’t know how to get it. What is the syntax for creating a new item and populating multiple fields, and how does one get the numeric ID for a column? Thanks,
I was successful using the “try it” feature of the api docs to perform a mutation using variables. Now I’m trying to convert that syntax into a curl command. Even when putting data in a file (then referencing with @filename) in the curl command, the amount of escaping and quoting is driving me bonkers. All I ever get is a “400 Bad Request” in the headers, nothing to indicate what’s invalid. I’ve seen some sample updates with curl, but none with variables. Can someone post a working example please? Thanks!
Hi, How can I read dropdown labels? I only get ids. I use query like this: query { items (ids: PULSE_ID) { column_values (ids: "dropdown") { value } } }
I’ve come into an issue recently in which group title’s are the same regardless of the different boards they’re on even though on https://monday.com they’re different. Just a bit of an example: On https://monday.com we would have two boards that look something like this: Board 1 Groups { Monday 18th November Tuesday 19th November Wednesday 20th November Thursday 21st November Friday 22nd November } Board 2 Groups { Monday 25th November Tuesday 26th November Wednesday 27th November Thursday 28th November Friday 29th November } When retrieving the API data using GQL, Board 2’s group titles would be the same of that of Board 1’s. GQL Query query ($activeBoards: [Int]) { boards (ids: $activeBoards) { id name columns{ title } groups{ id title } items { id name group{ id } column_values{ title
Hello, i’m working on synchronisation script beetween Monday and our businees internal solution. I want to get some private or shared boards datas via API, but the api is limited to admin users. How can permit a user to acces to monday with api, but without give the power of god ?
I need help connecting C # to APIV2 curl to read data! How I do? any examples? Thanks in advance : )
Can we get an example?
Anyone know how to subscribe users to a pulse item or mentione a user to know that new pulse was created. I tried create_notification and it notificate on monday but don’t send a notification email ( i have been activated the preferences email notifications). Thank you !
Hey all, I am trying to write a small program to query a board, return all items that have a certain flagged value, compare the data to an external source(probably a mySQL database), and finally return the data it finds from the database to the monday board item that matches the extracted values. Structured it will look like this: fetch monday data restructure data that is fetched use restructured data to perform a query in mySQL return the queried data update the monday board item based on id of data I have been working on some code, but I am not the most familiar with node.js or even javascript itself. This is what I have so far: const { GraphQLClient } = require('graphql-request'); var mysql = require('mysql'); //Create connection called 'client' that connects to Monday.com's API const client = new GraphQLClient('https://api.monday.com/v2/', { headers: { 'Content-Type': 'application/json', 'Authorization': myapikey' }, }); //Create query to send to Monday
Hello, I am looking to create a new type of column for my company. I want to use a high level board to make tasks and in the pulse name include a hashtag like #revenue. Then set up some code that recognizes the hashtag and creates a relationship with every smaller task that has that exact tag in the tags column. I want this so I can see numerically how many smaller tasks are out there related to my big task. So If my big task is make 100k in revenue and I assign work to departments they can use the tag column and mark their smaller tasks with the #revenue tag, which allows me to look at my big tag and see ok 0/11 tasks connected to this one have been completed. As they mark the smaller tasks done my bigger task will update showing a task completed like 1/11…2/11…3/11… and so on. Any idea how to start this? Thanks, Ryan
Hello, I’m facing what I think it’s either a bug in the API or wrong documentation. The mutation create_update accepts a mandatory parameter body, and an optional item_id. This suggests that I could post public updates to the platform. The problem is that if the mutation is called without an item_id I get a 500 HTTP error. Using an item_id is fine, though.
Hi, I want to ask on how to get “I was mentioned” feeds.
Hello, I’m trying to insert some info on a field with id “long_text”, the query is okay, everything goes fine, but the value is not on the field of created item. This is the query i’m using: mutation { create_item (board_id: XXXXXX, item_name: "XXXXXXX", column_values: " { \\\\"texto\\\\": \\\\"XXXXXXX\\\\", \\\\"texto1\\\\": \\\\"XXXXXX\\\\", \\\\"person8\\\\":\\\\"XXXXXXX\\\\", \\\\"long_text\\\\": \\\\"XXXXXXXX\\\\" }") { id } }
Hi I’m dealing with a CSV of Trello that is too big for excel. Trying to instead use the API to achieve this. Is anyone familar with MondayClient, the documentation I found is not sufficient. PyPI All I really need to do is find how to create a group, and then an item with in that group with a description and a checklist. So not too hard but having difficulties with the premade solutions provided by Monday in that respect. Thanks very much
Hello everyone, I noticed that a query listing my users returns numeric IDs for the User entity. While other entities have string IDS (e.g. boards, items). Do you know the reason of this difference of results ? My query for users: query { users { id name email } } returns the following: { “data”: { “users”: [ { “name”: “Gianluigi Rubino”, “id”: 10124622, “email”: “XXXX” } ], “complexity”: { “before”: 10000000, “query”: 3010, “after”: 9996990 } }, “account_id”: 000000 }
Hi there, I want to add an item using the following mutation: mutation ($bid: Int!, $gid: String!, $name: String!, $cnames: JSON!) { create_item(board_id: $bid, group_id: $gid, item_name: $name, column_values: $cnames) { id state created_at creator { id name } column_values { id value text } } } I have a problem with a status column: if using an index to specify the desired status, it’s fine: { "bid": 343506767, "gid": "new_group", "name":"item created using APIv2", "cnames": "{\\"link\\" : {\\"url\\":\\"http://www.monday.com\\",\\"text\\":\\"Monday\\"}, \\"id1\\":\\"123456789\\", \\"status\\" : { \\"index\\" : \\"1\\" }}" } If I try to set the column status using a label, the status value I pass to the mutation is ignored all-together, the default value is assigned to the column. Here’s an example of the variables I’m using for the second query: { "bid": 343506767, "gid": "new_group", "name":"item created us
Hey there, I’m trying to solve a flow in which an agent registers a tasks and gets that task assigned to him/herself. I’m not being able to get information of the creator of the pulse from the API. How can I do that?
Hi. I am trying to update a column value using the following query: mutation {change_column_value (board_id: #######, item_id: #######, column_id: \\"text\\", value: \\"hello\\") {name}} And creating a new item with given values using the following query: mutation {create_item (board_id: ########, item_name: \\"New Item\\", column_values: \\"{\\\\\\'text\\\\\\': \\\\\\'hello\\\\\\'}\\") {id}} However I get Internal Server Error (500). What is the problem with these queries? Note: A column with the id ‘text’ does exist in the board I have no problem creating an item with empty column_values (just {}), nor any problem in reading board contents. The stringified JSON (the arg of column_values) is generated automatically by str(dict). Thanks!
Hi, really need your help, im trying to post some data from a website into monday this is the below code. I am new to php and monday, can you please help me with this? Its urgent if(isset($_POST[‘submit’])){ // all the datas are saved into the variables here fro the global variables; $name = $_POST['Name']; $email = $_POST['Email']; $phone = $_POST['Phone']; $message = $_POST['Message']; $user_ip = $_SERVER['REMOTE_ADDR']; $browser = $_SERVER['HTTP_USER_AGENT']; date_default_timezone_set('Asia); $date = date('d/m/Y h:i:s a', time()); if($message == “”){ $message = “NIL”; } $recipient = “email_id” ; $subject = "Message from ".$name ; $message = " **Name:** ".$name. " **Email:** " .$email. " **Phone:** " .$phone. " **Message:** " .$message. " **Ip Address:** " .$user_ip. " **Browser:** " .$browser. " **Date:** " .$date. “ ” ; $body = "<html>\\n"; $body .= "<body style=\\"font-family:Verdana, Verdana, Geneva, sans-serif; font-size:12px; color:#666666;\\">
I want to get specific column values from all items in two groups present within one board. For example, if there is a group with a list of items and each has an address and a phone number, I want to return those addresses and numbers (the column IDs could be something like “text2” and “number2”). What is the query for this?
Hello, As the title suggests, I wonder if there is a way to query for all the pulses on a specific board using APIs v2. I tried but I could not find a way to “pass” the board Id as a parameter.
I’m utilising Postman to create a new item with populated columns, however I’ve hit a problem where the item is created, but the fields remain blank. This is my syntax mutation { create_item ( board_id: 283592949, group_id: “For Consideration”, item_name: “New Suggestion”, column_values:" { \\“Priority\\” : {\\“label\\” : \\“Low\\”}, \\“Your_Name\\”:\\“Hello world\\”, \\“Department\\” :\\“Hello world\\” }" ) { id } } If I try mutation { create_item ( board_id: 283592949, group_id: “For Consideration”, item_name: “New Suggestion”, column_values:" { \\“text\\”:\\“Hello world\\”, \\“text\\” :\\“Hello world2\\” }" ) { id } } Then the left most text field is populated with “Hello world2” GraphQL is new to me, so I’m sure I’m missing something obvious, but after going through the examples on here and the documentation I’m no closer to getting this to work. Any help you can offer is greatly appreciated.
Moderator edit: we now have quickstart guides that walk new users through this. Here are links to our guides in Python, PHP and Javascript. I’d like figure out how to set up a mutation call to post an entire pulse and its column values. In the documentation it says the argument should take “column_valuesJSON” however I’m wondering how to configure this correctly. Would it be in the following configuration, or do you have to create the item, then a PUT call for each column_value? Thank you for feedback here. mutation { create_item (board_id: 20178755, group_id: "today", item_name: "new item", column_values: {???} ) { id } } I will post to this once I find the correct way of doing this, but if anyone has a good example, please share, it will save me tons of time. I would think you have to create the item/pulse first.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.