Welcome to the new monday developer community
-
Recently active
Anyone know of any good examples for API usage. I’ve gone through the docs, they aren’t great. Also, the tutorial examples are terrible and not very usable inmo. Specifically, Python is preferable however, any examples may give me some insight.
There seems to be an issue when I make calls to delete and update values in a board’s stored values. These are what my calls look like: await this.monday.storage.instance.deleteItem('key'); await this.monday.storage.instance.setItem('key', newVal); The set item works fine on the first one, but after that it doesn’t update the values. Delete item never worked. I even tried setting a value to null, but didn’t work. Can someone help me figure this out?
I’m working on trying to get webhooks working and sending a lot of test requests. I’m realizing though that after sending create_webhook I can’t do something like this: query { webhooks { id } } How can I clear out all webhooks or view what is connected?
Hello, I’m new to GraphQl I have executed this query “{boards (limit:200){id board_kind board_folder_id name state pos description groups{id title} items{ id name creator{ id name enabled email is_guest is_view_only is_pending} created_at creator_id updated_at group{ id title} column_values{ id type title text value} } } }” and I have a response with columns less than what I have, I don’t understand why? this is the response (6 columns on “column_values”) { “id”:“5******”, “name”:“Bla Bla Bla”, “creator”:{“id”:1***,“name”:“Foulen Fouleni”,“enabled”:true,“email”:“ff @ff.com”,“is_guest”:false,“is_view_only”:false,“is_pending”:false}, “created_at”:“2020-06-27 15:17:17 UTC”, “creator_id”:“1***”, “updated_at”:“2020-08-27 09:30:29 UTC”, “group”:{“id”:“nouveau_groupe”,“title”:“Group title”}, “column_values”: [ {“id”:“sous__l_ments”,“type”:“subtasks”,“title”:“Sous-éléments”,“text”:“”,“value”:null}, {“id”:“personnes”,“type”:“multiple-person”,“title”:“Personne”,“text”:“”,“value”:null}, {“id”:“s
I am building a board view where I would like to be able to select a single user from the list of selected users in the Board View Settings Field. I could accomplish this in the app itself, but it would be a smoother experience if this could be done from the settings pane. These are a couple hypothetical solutions, but I have not found a way to implement them. Add a “dropdown” settings field and populate it with the values in my “user” settings field Add a second “user” settings field and somehow limit it to one user and prevent duplicates. (AKA, Is there a way to populate the options for one setting field with the results of another?) Build the experience in the board view itself If anyone has done something similar, I would really appreciate some guidance!
Hi, I was following the “Uploading a file to monday.com, the hard way” tutorial. The tutorial shows how to upload a .png file. When I tried it, I get a 500 error. However, if I change the filename to “hello.txt”, I am able to upload. I suspect it has something to do with the filename, as setting the filename to “sample.png” (as was done in the tutorial) got me that error. Even setting the filename to something bogus like “hello.pdf” worked. It’s only “hello.png” that didn’t work…
Hi Folks, I’m trying to connect to the monday.com api from Salesforce. I get an initial OK - 200 when authenticating but then receive: {“errors”:[{“message”:“No query string was present”}],“account_id”:2027725} in the response body. If I run the method req.SetHeader('Content-Type', 'application/json'); I can’t even authenticate. Any ideas? See code below. public class mondayAPI{ public static httpResponse callout(){ String apiKey = 'my api key' here; String query = '{ "query" : "{boards(ids: 813785147)}}" '; //instantiate httpRequest HttpRequest req = new HttpRequest(); //set http method and endoint for request instance req.setMethod('POST'); req.setEndpoint('https://api.monday.com/v2'); //set body and header req.setHeader('Authorization', apiKey); req.setBody(query); //instantiate the http http h = new http(); //make the call out using the http.send() method HttpResponse res = h.send(req); Integer statusCode =
I’m trying to use create_column to create a column of the ‘formula’ type, but the schema on the GraphiQL tool doesn’t appear to list this as a valid value for the column_type variable, which as far as I can see should be a ColumnType. Can anyone let me know if this is possible? Querying for a board created through the normal user interface does seem to show ‘formula’ as the type. Is ‘formula’ maybe some special case of one of the listed types? { "data": { "boards": [ { "columns": [ { "id": "name", "type": "name" }, ... { "id": "formula3", "type": "formula" } ] } ] } } Many thanks in advance!
In the API schema, on Mutation, there’s an operation called update_custom_field_values intended to “Update user profile’s custom field value” Is it possible to retrieve those values? Nor the API docs or the schema describe such ability.
I am experiencing difficulty creating items with tag column values. The items create, but the tag values are not being set. I saw from this previous question that tags need to be created and then passed as ID to the create_item call: Tag ID and tag Jason format monday apps & integrations Hi There, Trying to integrate a WPform with Monday using Zapier. Can i populate a Monday Tag field ? If true, how do i access it using the Jason format ? {“Tags_1” : {“tag”:[“This”]}} Regards, Fabian So my first mutation to create the tag is this: mutation { create_or_get_tag (tag_name: "myNewTag", board_id: 785566686) { id } } I then use that ID to create the item with the tag_ids like so: mutation { create_item ( board_id: 785566686, group_id: "group_title", item_name: "item_name", column_values: "{\\"status\\":{\\"label\\":\\"Medium\\"},\\"tag\\":{\\"tag_ids\\":[7481612]}}" ) { id } } When I perform
Only the item name appears in Monday. The columns are empty. I tried removing the label and text - same result. Code: import requests import json apiKey = "HIDDEN" apiUrl = "https://api.monday.com/v2" headers = {"Authorization": apiKey} query5 = "mutation ($myItemName: String!, $columnVals: JSON!) { create_item (board_id:HIDDEN, item_name:$myItemName, column_values:$columnVals) { id } }" vars = {"myItemName": "Hello everyone!","columnVals": json.dumps({"link": {"link": "www.google.com"}, "people1": {"multiple-person": "Jane"}}),} data = {"query": query5, "variables": vars} r = requests.post(url=apiUrl, json=data, headers=headers) # make request print(r.json()) The ids of the columns are correct. I checked. What am I doing wrongly here? Thank you.
I have 2 accounts. 1 account is the ‘team lead’ and has access to the APIv2 My second account which acts as a ‘team member’ (and registered as a developer) is unable to access the api_v2. Im using the SDK v0.1.1. The error is thrown both in the app widget (via the SDK) and in the API playground. Any ideas? All OAUTH settings are enabled.
Code (PyThon) - variable for query looks like this vars = {"myItemName": "testing","columnVals": json.dumps({"link": {"url":"wwww.google.com","text":"google.com"},"people1":"14123922,12472244","timeline":"2020-11-19-2020-11-29"}),} timeline is of type “timerange”. What am I doing wrong here?
I don’t see it documented in the API, but it is definitely possible… how do you create a read-only column? i see in the Todoist integration, they create a column that’s read-only. does anybody know how to do this?
Creating an item is not an issue. Adding column items (Status and Assignee) results in errors namely: {"errors":[{"message":"Parse error on \\":\\" (STRING) at [3, 11]","locations":[{"line":3,"column":11}]}],"account_id":1157581} The code: $token = 'TOKEN HIDDEN - PUBLIC FORUM'; $apiUrl = 'https://api.monday.com/v2'; $headers = ['Content-Type: application/json', 'Authorization: ' . $token]; $query = 'mutation ($myItemName: String!) { create_item (board_id:564704604, item_name:$myItemName, column_values: "{ "Status":"done", "Assignee":"Jon.Doe@gmail.com" }" $data = @file_get_contents($apiUrl, false, stream_context_create([ 'http' => [ 'method' => 'POST', 'header' => $headers, 'content' => json_encode(['query' => $query, 'variables' => $vars]), ] ])); $responseContent = json_decode($data, true); echo json_encode($responseContent); The error seems to be in the way I add the Columns. I have seen other posts mentioning adding slashes - others mention using a c
Can we get a free temporary premium account for the duration of the devpost hackathon?
Hello fellow developers 👋 I’ve started to play with the APIs for building an app and noticed there’s no implementation of Monday’s UI components. 🙃 for those of you who care for the look and feel of your app, I’ve started an open-source repo for implementing all of the design guidelines as stated here , hoping to implement a minimal set of UI components to build an app which will look native. how can you help? I’d be more than happy for pull requests and help with expanding or maintaining the repo. If anyone from Monday’s dev team is reading this and would like to give a hand, that’d be awesome too! links Github Repo : https://github.com/kaminskypavel/monday-ui-components StoryBook : Link Progress board : Link
Hi, I unable to upload my build since last night, I keep getting unknown error, may I know why?
Hi all, I noticed that the error format thrown by the API has been changed. My code used to check response.errors[0].message but I do see a different error format now { “error_code”: “CreateBoardException”, “status_code”: 400, “error_message”: “Failed to create board from predefined template”, “error_data”: {} } Is this really changed? Did I miss any announcement? Shouldn’t app developers made aware of such important change? OR are there different error formats for queries and mutations?
Hi there, I am storing data from all customers in the same database (multitenant) and thus I need to segregate this data so that one account can’t see data from another. Currently, I am using the client_id for that. However, when installing the app in different Monday accounts, I realised that the client_id that I get from the Monday token is always the same! This is the information I can get from the token: "dat": { "client_id": "123456daef7553456d62345aa37", "user_id": 123456, "account_id": 123456, "slug": "my-monday-subdomain", "app_id": 123456, "install_id": 123456 } Then, the question: should I be using a different id (maybe the account_id) to segregate data in the database correctly between different Monday instances? Thank you.
How do I enable developer mode to view template ids? The docs show I need to enable monday.labs, but I can’t that in my menu. Thank you.
Hi, How can I retrieve the following information using graphQL?
Hi, I am trying to set a column value which has the type Numbers to the value if 0 using API but it keeps resulting in a blank column instead of the numeric value of 0 for some reason. Is it possible to do this? My mutation is using a JSON format for the data. All numbers are okay except from the number 0. If it helps, this is what I’ve been using: https://community.monday.com/t/change-column-value-with-php-variable/12587 Regards
Good morning Monday.com Community! We at Trix Solutions are pleased to announce the official release of Moncli v1! We had a lot of good feedback with our initial beta release. We have also incorporated new features developed by the great developers at Monday.com including: Uploading files to items and updates Creating subitems Duplicating items Updating item link columns Clearing updates from items Adding replies to updates Creating workspaces Accessing board views and activity logs You can find our code and documentation on our Github repository here. We greatly look forward to your feedback. Happy coding! - Andrew (Trix Solutions)
I am trying to update a column value within my Monday.com table using the below code but I am getting the following error: Variable $myvariable is used by but not declared $query = 'mutation { change_simple_column_value (board_id: [BOARD_ID], item_id: [ITEM_ID], column_id: "sold___deposit_paid", value: $myvariable) { id } }'; It works if I put a value in place of the variable though. Why is this happening?
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.