Skip to main content
GET
/
me
Get current user with Organisation + Client memberships
const options = {method: 'GET'};

fetch('https://api.dolfinai.co/me', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "<string>",
  "organisations": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "role": "<string>"
    }
  ],
  "clients": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "type": "<string>",
      "role": "<string>"
    }
  ],
  "name": "<string>"
}

Response

OK

userId
string<uuid>
required
email
string
required
organisations
object[]
required
clients
object[]
required
name
null | string