# Me

The /me endpoint is used to get information about your user, the parties connected to that user and the permissions the user has for those parties.

# Get user

Calling GET /api/v1/me will return the user you're logged in as.

# Get parties

The endpoint GET /api/v1/me/parties returns an array of parties connected to the user. The party object contains the name and id of the party, as well as the permissions the user has for those parties. For example:

[
  {
    "name": "Example party",
    "permissions": {
      "canSendDocument": true,
      "canReceiveDocument": true,
      "canRemoveDocument": true,
      "canManageHook": true,
      "canChangeDocumentStatus": true
    },
    "id": "0106:123456"
  }
]
© 2021 eConnect International B.V.