Last modified: Feb 27, 2025

Finding authorized parties

How to get the list of parties that can be represented

Introduction

This shows how to get a list of authorized parties that the authenticated user can represent.

Basic steps (REST)

  1. Authenticate as an end-user
  2. Perform a GET-request to /api/v1/enduser/parties

Returned infiormation

The data structure returned consists of all the parties that the end user can represent, which as a minimum, will include themselves. This includes

  • The name of the party (full name for persons, or organization name).
  • The identifier for the party, which can be used when searching for dialogs
  • Whether the party is the current user
  • Whether the user has any special roles for the party

Note that organizations might have child/parent relations (one level). An end-user might have access to a child organization, but not its parent, however the parent will still be included for viewing purposes, but is flagged as only being present to indicate the hierarchy.

Also note that deleted organizations will also be included. For full details, see the reference link below.

Read more

Basic steps (GraphQL)

This section is incomplete

While we're working on it, contributions are also very welcome. Hit "Edit this page on GitHub" on the bottom of this page to get started.