all-about-apikey/monday/README.md

1.1 KiB

Monday

Description

Programmatically access and update data inside a monday.com account

Example Request

  • Curl
curl --location --request POST 'https://api.monday.com/v2' \
    --header 'Authorization: {{token}}' \
    --header 'Content-Type: application/json' \
    --data-raw '{"query": "query { me { is_guest created_at name id}}"}'
  • Raw
POST /v2 HTTP/1.1
Host: api.monday.com
Authorization: {{token}}
Content-Type: application/json
Content-Length: 55

{"query": "query { me { is_guest created_at name id}}"}

Response

  • Success
{
    "data": {
        "me": {
        "is_guest": false,
        "created_at": "2022-07-22T07:02:26Z",
        "name": "Test Test",
        "id": 123456789
        }
    },
    "account_id": 12345678
}
  • Error
{
    "errors": ["Not Authenticated"]
}

Regex

^[A-Za-z0-9-_=]+\.[A-Za-z0-9-_=]+\.?[A-Za-z0-9-_.+/=]*$

Example API key

eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE2M.jkxMDcxMjAsImV4cCI6MTY2MDY0MzEyMCwiYXVkIjo........