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.