Skip to main content

User Profile Endpoint

  • December 29, 2022
  • 3 replies
  • 532 views

There was a question asked a while ago about a user profile endpoint being available. The system I am working with doesn’t support GraphQL queries in the user profile retrieval endpoint well, so https://api.monday.com/v2?query={me{account{id name}}} doesn’t work. Would be ideal if there was an endpoint like https://api.monday.com/v2/me or similar, if anyone knows?

3 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 29, 2022

Hello @yuweishen,

Our API is GrapgQL based. It is not a rest API. You can check our documentation here and a great collection of HTTP request examples here.

The requests are always sent to the same endpoint (https://api.monday.com/v2) unless you are uploading files.

The requests are always POST request.

In you case, I believe you might want to use something like this to get information about the account and user. This would be your HTTP request’s body (this is GraphQL, format it as needed):

{
  account {
    name
    id
    country_code
    slug
  }
  me {
    name
    email
    id
    is_admin
    last_activity
  }
}

There are many other pieces of information you can get. You can check them out in our documentation!

I hope that helps!

Cheers,
Matias


  • Author
  • New Participant
  • December 29, 2022

Thanks Matias, makes sense.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 1, 2023

Glad to help!

Let us know if you need anything else 🙂

Cheers,
Matias