# Parties \[GET]

{% hint style="info" %}
***This page must be considered part of the iSHARE Framework***

*This page is considered normative and is therefore compliant with RFC 2119.*
{% endhint %}

## Lists and searches parties

> Search for participant information from your Participant Registry. Various search parameters are supported as shown below. When results are more then 10 participants, pagination is used in response and each page contains up to 10 participants.\
> Server response is an iSHARE signed JSON Web Token. Please refer to the models 'jwt\_header' and 'jwt\_payload\_party\_token' which indicate what the decoded response will look like.

```json
{"openapi":"3.0.0","info":{"title":"iSHARE API specifications","version":"2.2"},"tags":[{"name":"Participant Registry","description":"Endpoints that form the iSHARE Participant Registry API specification."}],"servers":[{"description":"iSHARE UAT network base domain","url":"https://isharetest.net"},{"description":"iSHARE TEST network base domain","url":"https://test.ishareworks.nl"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 authorization based on bearer token. MUST contain “Bearer “ + access token value. Must be provided if restricted endpoints are needed."}},"schemas":{"PartiesResponse":{"title":"PartiesResponse","type":"object","properties":{"parties_token":{"type":"string","format":"application/jwt"}}}}},"paths":{"/[v2.2]/parties":{"get":{"tags":["Participant Registry"],"parameters":[{"style":"form","explode":true,"name":"active_only","description":"Optional parameter used to search by party's  \"Active\" status.","schema":{"type":"boolean"},"in":"query"},{"style":"form","explode":true,"name":"name","description":"Optional parameter used to search by party's name. Can contain a single * as wildcard.","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"id","description":"Optional parameter used to search a party by party's id. Can contain a single * as wildcard. It searches through the id and alsoKnownAs array  for matching id. ","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"eori","description":"Optional parameter used to search by party's EORI. Can contain a single * as wildcard. It searches through the party_id array  for matching eori (contained in the party_id array). This parameter must be considered deprecated and will be removed in future  releases.","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"certified_only","description":"Search for parties that play one of the certified roles as defined in iSHARE role framework.","schema":{"type":"boolean"},"in":"query"},{"style":"form","explode":true,"name":"date_time","description":"Search parties with specific adherence date","schema":{"format":"date-time","type":"string"},"in":"query"},{"style":"form","explode":true,"name":"adherenceStatus","description":"Search for parties with adherence status like \"Active\", \"Revoked\",\"Not Active\", \"Pending\"","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"adherenceStartdate","description":"Search parties with specific adherence start date","schema":{"format":"date-time","type":"string"},"in":"query"},{"style":"form","explode":true,"name":"adherenceEnddate","description":"Search parties with specific adherence end date","schema":{"format":"date-time","type":"string"},"in":"query"},{"style":"form","explode":true,"name":"registrarPartyId","description":"Search parties by their registrar Participant Registry's ID number","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"webSiteUrl","description":"Search a party by their website URL","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"companyEmail","description":"Search a party by their email ID","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"companyPhone","description":"Search a party by their company phone number","schema":{"format":"int32","type":"integer"},"in":"query"},{"style":"form","explode":true,"name":"publiclyPublishable","description":"Search parties whose general company contact information is allowed to be published","schema":{"type":"boolean"},"in":"query"},{"style":"form","explode":true,"name":"tags","description":"Search parties who match any of the keywords that they have added in their participant information under tags. It is a free text field and can contain any value","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"framework","description":"Search parties based on which framework they were onboarded with. Currently parties can only be registered with \"iSHARE\" framework","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"subjectName","description":"Search parties based on the subject name of their PKI (x509) certificates. Usually to find a party who is requesting tokens","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"role","description":"Search parties based on their roles as defined in iSHARE role framework. Possible roles are ServiceConsumer, ServiceProvider,  EntitledParty, AuthorisationRegistry, IdentityProvider,  IdentityBroker and IdentityBroker and ParticipantRegistry,  iShareSatellite (deprecated, will be removed in future releases,  use ParticipantRegistry instead).","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"loA","description":"Search parties based on their level of assurance which is registered in the participant list. Possible values are Low/Substantial/High","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"compliancyVerified","description":"Search parties that have their compliance to framework verified or not.","schema":{"type":"boolean"},"in":"query"},{"style":"form","explode":true,"name":"legalAdherence","description":"Search parties that have signed the appropriate legal agreements and that have been verified during or after onboarding. Parties adhering to legal agreements are legally obliged to adhere to terms of use of data.","schema":{"type":"boolean"},"in":"query"},{"style":"form","explode":true,"name":"authorizationRegistryID","description":"Search parties based on their authorisation registry provider. The ID of the authorisation registry must be provided in search parameter and this must be listed as authorisation registry in the participant record","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"authorizationRegistryName","description":"Search parties based on their authorisation registry provider. The name of the authorisation registry must be provided in search parameter and this must be listed as authorisation registry in the participant record","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"dataSpaceID","description":"Search parties based on data-spaces they participate in. The ID of the data-space must be provided","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"dataSpaceTitle","description":"Search parties based on data-spaces they participate in. The name of the data-space must be provided","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"countriesOfOperation","description":"Search parties by name of country they list as their country of operation","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"sectorIndustry","description":"Search parties by name of sector they list as their sector/industry","schema":{"type":"string"},"in":"query"},{"style":"form","explode":true,"name":"page","description":"The parties API by default uses pagination. Each page size is fixed at 10 parties per page. When search results into more then 10 parties, the page parameter must be added for next pages","schema":{"format":"int32","type":"integer"},"in":"query"},{"style":"form","explode":true,"name":"certificate_subject_name","description":"Search parties based on the subject name of their PKI (x509) certificates. Usually to find a party who is requesting tokens","schema":{"type":"string"},"in":"query"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartiesResponse"}}},"description":""}},"deprecated":false,"operationId":"/parties","summary":"Lists and searches parties","description":"Search for participant information from your Participant Registry. Various search parameters are supported as shown below. When results are more then 10 participants, pagination is used in response and each page contains up to 10 participants.\nServer response is an iSHARE signed JSON Web Token. Please refer to the models 'jwt_header' and 'jwt_payload_party_token' which indicate what the decoded response will look like."}}}}
```

{% hint style="info" %}
Even though all request parameters are optional, at least one parameter should be provided. E.x. if you would like to retrieve all parties, you could use `name=*` or `party_id=*`.
{% endhint %}

### Response model

**Decoded parties\_token parameters:**

The model of the `parties_token` JWT response is [available on the iSHARE OpenAPI documentation](https://openapi.ishare.eu/index.html?version=2.2#/jwt_payload_parties_token). For convenience the model of the parties\_info object, contained within the token, is described below:

* `parties_info`\
  **Object**. Root level.\
  Contains results count and information about the parties.
  * `total_count`\
    **String**. Contained in the object of `party_info`.\
    Total count of found parties.
  * `pageCount`\
    **String**. Contained in the object of `party_info`.\
    Number of pages (10 per page).
  * `count`\
    **Integer**. Contained in `parties_info`.\
    Total count of found parties. Since one request returns up to 10 parties, the value helps to understand if more than one page exists.
  * `data`\
    **Array of Objects**.\
    Contained in `parties_info`.\
    Collection of parties.
    * `id`\
      **String**. Contained in `data`.\
      iSHARE Identifier of the party derived from original party identifiers.
    * `alsoKnownAs`\
      **Array of Strings**. Contained in `data`.\
      Identifiers of the party.
    * `party_name`\
      **String**. Contained in `data`.\
      Name of the party.
    * `capability_url`

      **String**. Contained in `data`.

      [Capabilities endpoint](/version-2.2/all-roles-common-endpoints/capabilities.md) of the party.
    * `registrar_id`

      **String**. Contained in `data`.

      Identifier of the party who registered the participant identified by the `id` attribute above.
    * `adherence`\
      **Object**. Contained in `data`.\
      Object which contains status and validity timestamps of the party.
      * `status`\
        **String**. Contained in `adherence`.\
        Status of the party. Available values are *Active*, *Pending*, *NotActive* and *Revoked*.
      * `start_date`\
        **Timestamp (ISO 8601)**. Contained in `adherence`.\
        UTC timestamp which states since when adherence status has established.
      * `end_date`\
        **Timestamp (ISO 8601)**. Contained in `adherence`.\
        UTC timestamp which states till when adherence status has established.
    * `additional_info`

      **Object**. Contained in `party_info`.

      Object which contains additional general contact information of the party.

      * `description`

        **String**. Contained in `additional_info`.

        A brief description of the party.
      * `logo`

        **String**. Contained in `additional_info`.

        URL pointing to the endpoint where company logo can be found.
      * `website`

        **String**. Contained in `additional_info`.

        URL pointing to the endpoint where company logo can be found.
      * `company_phone`

        **String**. Contained in `additional_info`.

        General company phone number of the party.
      * `company_email`

        **String**. Contained in `additional_info`.

        General company email id of the party.
      * `publicly_publishable`

        **Boolean**. Contained in `additional_info`.

        Consent to publicly publish the information contained in this object.
      * `countries_operation`

        **Array of Objects**. Contained in `additional_info`.

        An array of ISO names of the countries where the party operates.
      * `sector_industry`

        **Array of Objects**. Contained in `additional_info`.

        An array of GICS based sectors/industry that party serves in.
      * `tags`

        **String**. Contained in `additional_info`.

        An free text field containing keywords relevant for party.
    * `agreements`\
      \
      \
      \
      \
      \
      \
      \
      \
      \
      **Array of Objects**. Contained in `data`.\
      Object which contains details about contracts including data space contracts that party has agreed and signed to.
      * `type`

        **String**. Contained in the object of `agreements`.

        Type of agreement. Refers to the official type of agreement. For iSHARE following types are available Terms of Use, Accession Agreement, Certified Party Agreement, Participant Registry Agreement (former name Satellite Agreement will be deprecated). Additionally, each data space can define their own type and it can be listed here when appropriate data space is chosen.
      * `title`

        **String**. Contained in the object of `agreements`.

        The name of the agreement or agreement file.
      * `status`

        **String**. Contained in the object of `agreements`.

        Status of the agreement. Available values are *Draft*, *Signed*, *Accepted*, *Obsolete*.
      * `sign_date`

        **Timestamp (ISO 8601)**. Contained in the object of `agreements`.

        Date of signature of the agreement.
      * `expiry_date`

        **Timestamp (ISO 8601)**. Contained in the object of `agreements`.

        Expiry date of the agreement. For non expiring agreements the end date is far in future.
      * `hash_file`

        **String**. Contained in the object of `agreements`.

        The calculated hash of the agreement file that has been uploaded. Note agreements are not stored in ledger, but only their hash.
      * `framework`

        **String**. Contained in the object of `agreements`.

        The trust framework to which this agreement complies to. Currently, only iSHARE is available.
      * `dataspace_id`

        **String**. Contained in the object of `agreements`.

        The ID of the data space. If specified, party is onboarded in accordance to this data space’s terms and conditions.
      * `dataspace_title`

        **String**. Contained in the object of `agreements`.

        The name of the selected dataspace.
      * `compliancy_verified`

        **String**. Contained in the object of `agreements`.

        Legal compliance to this agreement has been verified in accordance with the process set in trust framework as we as data space governance. Possible values are *Yes*, *No*, *Not Applicable*.
    * `certificates`

      **Array of Objects**. Contained in `data`.

      Object which contains the details of the PKI/x509 certificates of the party. Either certificates or SPOR must be present.

      * `subject_name`

        **String**. Contained in the object of `certificates`.

        subjectName as encoded in the X.509 certificate which corresponds with the party that is being requested from the Participant Registry.
      * `certificate_type`

        **String**. Contained in the object of `certificates`.

        Contains the type of certificate. For example: eIDAS certificates of type eSEAL are trusted, hence the value of the field will be eSEAL.
      * `enabled_from`

        **Timestamp (ISO 8601)**. Contained in the object of `certificates`.

        UTC timestamp which states since when certificate is valid.
      * `x5c`

        **String**. Contained in the object of `certificates`.

        The base64 encoded pem format value of the certificate identified by its subject name and fingerprint.
      * `x5t#s256`

        **String**. Contained in the object of `certificates`.

        The SHA256 fingerprint of the certificate.
    * `roles`

      **Array of Objects**. Contained in `data`.

      Object which contains details about the iSHARE roles of the party. The details include the level of assurance as well as compliance status for each role.

      * `role`

        **String**. Contained in the object of `roles`.

        Role name. Possible roles are *ServiceConsumer*, *ServiceProvider*, *EntitledParty*, *AuthorisationRegistry*, *IdentityProvider*, *IdentityBroker* and *ParticipantRegistry*, *iShareSatellite* (deprecated, will be removed in future releases, use *ParticipantRegistry* instead).
      * `start_date`

        **Timestamp (ISO 8601)**. Contained in the object of `roles`.

        UTC timestamp which states since when certification is valid.
      * `end_date`

        **Timestamp (ISO 8601)**. Contained in the object of `roles`.

        UTC timestamp which states till when certification is valid.
      * `loa`

        **Integer**. Contained in the object of `roles`.

        Certificate’s level of assurance. Available values are *1* (low), *2* (substantial) and *3* (high).
      * `compliancy_verified`

        **Boolean**. Contained in the object of `roles`.

        Compliance requirements of this role has been met by party.
      * `legal_adherence`

        **Boolean**. Contained in the object of `roles`.

        Legal requirements of this role has been met by party including signing of appropriate agreements.
    * `auth_registries`

      **Array of Objects**. Contained in `data`.

      Object which contains details about the authorisation registers that the party uses. *Please be aware that the current reference implementation of the iSHARE Satellite returns this information in an attribute "authregistery" instead of "auth\_registries". This will be updated in a future release.*

      * `name`

        **String**. Contained in the object of `auth_registries`.

        The name of the authorisation registry provider.
      * `id`

        **String**. Contained in the object of `auth_registries`.

        The Id of the authorisation registry provider.
      * `url`

        **String**. Contained in the object of `auth_registries`.

        The URL pointer specific to the party where authorisations can be queried/checked from.
      * `dataspace_id`

        **String**. Contained in the object of `auth_registries`.

        The id of the data space where the party uses this authorisation registry provider.
      * `dataspace_name`

        **String**. Contained in the object of `auth_registries`.

        The name of the data space corresponding to the data space id.

### Example request

```
> Authorization: Bearer IIeDIrdnYo2ngwDQYJKoZIhvcNAQELBQAwSDEZMBcGA1UEAwwQaVNIQ

GET /parties?
    certificate_subject_name=C%3DNL%2CO%3DTest%20Service%20Consumer%2CCN%3DTest%20Service%20Consumer%2C2.5.4.97%3DNTRNL-10000001
    &active_only=true
```

### Example response

The response contains an encoded JWT, which looks like this:

```json
{
  "parties_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsIng1YyI6WyJNSUlFNlRDQ0E5R2dBd0lCQWdJSVUrVkNVWmo1dCtBd0RRWUpLb1pJaHZjTkFRRUxCUUF3UERFNk1EZ0dBMVVFQXd3eFZFVlRWQ0JwVTBoQlVrVWdSVlVnU1hOemRXbHVaeUJEWlhKMGFXWnBZMkYwYVc5dUlFRjFkR2h2Y21sMGVTQkhOVEFlRncweU16QTVNRGt4TWpBMk16RmFGdzB6TXpBNU1EWXhNakEyTXpCYU1IVXhHakFZQmdOVkJBTU1FV2xUU0VGU1JTQlVaWE4wSUZCSlVpQXhNUnd3R2dZRFZRUUZFeE5GVlM1RlQxSkpMazVNTURBd01EQXdNREF3TVJRd0VnWURWUVFMREF0VVpYTjBJR0Z1WkNCUlFURVdNQlFHQTFVRUNnd05hVk5JUVZKRlZHVnpkRkJKVWpFTE1Ba0dBMVVFQmhNQ1Rr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PffaA27YFCThKYJiBU4AuIWFf2MUG2LEErZwlqXIVK504rf78EKo2nuhZrXrHGdpow3uNwPtfZumN7So5eoyrs2Z9lsfvrvgjiR06mqCu5jn3F4XT95j9ciY6pBVFT4yi4"
}
```

After decoding, the example content of the JWT looks like this:

```json
{
  "aud": "EU.EORI.NL000000001",
  "exp": 1767028632,
  "iat": 1767028602,
  "iss": "EU.EORI.NLTESTPIRSAT1",
  "jti": "83ecb75975c84dae9eb1ea3d006e421d",
  "nbf": 1767028602,
  "parties_info": {
    "total_count": 1,
    "pageCount": 1,
    "count": 1,
    "data": [
      {
        "id": "did:ishare:EU.NL.NTRNL-000000001",
        "alsoKnownAs": [
          "eori:EU.EORI.NL000000001"
        ],
        "party_name": "ABC Trucking",
        "capability_url": "",
        "registrar_id": "EU.EORI.NL000000000",
        "adherence": {
          "status": "Active",
          "start_date": "2024-02-12T00:00:00.000Z",
          "end_date": "2025-02-13T00:00:00.000Z"
        },
        "additional_info": {
          "description": "Test",
          "logo": "",
          "website": "",
          "company_phone": "",
          "company_email": "",
          "publicly_publishable": "false",
          "countriesOfOperation": [
            "Afghanistan",
            "Albania",
            "Algeria"
          ],
          "sectorIndustry": [],
          "tags": "NTRNL-00000001"
        },
        "agreements": [
          {
            "type": "TermsOfUse",
            "title": "tu",
            "status": "Accepted",
            "sign_date": "2024-02-12T00:00:00.000Z",
            "expiry_date": "2025-02-13T00:00:00.000Z",
            "hash_file": "ae1d7d30f5db9497f21a7984a8a6f359",
            "framework": "iSHARE",
            "dataspace_id": "",
            "dataspace_title": "",
            "complaiancy_verified": "no"
          },
          {
            "type": "AccessionAgreement",
            "title": "aa",
            "status": "Accepted",
            "sign_date": "2024-02-12T00:00:00.000Z",
            "expiry_date": "2025-02-13T00:00:00.000Z",
            "hash_file": "ae1d7d30f5db9497f21a7984a8a6f359",
            "framework": "iSHARE",
            "dataspace_id": "",
            "dataspace_title": "",
            "complaiancy_verified": "no"
          }
        ],
        "certificates": [
          {
            "subject_name": "CN=ABC Trucking,SERIALNUMBER=EU.EORI.NL000000001,OU=Test,O=iSHARETest,C=NL",
            "certificate_type": "Pkio",
            "enabled_from": "2024-02-12T00:00:00.000Z",
            "x5c": "MIID2jCCAsKgAwIBAgIINqe/ESZKbs0wDQYJKoZIhvcNAQELBQAwPDE6MDgGA1UEAwwxVEVTVCBpU0hBUkUgRVUgSXNzdWluZyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBHNTAeFw0yMzAyMjQxNjUwMzVaFw0zMzAyMjExNjUwMzRaMGYxFTATBgNVBAMMDEFCQyBUcnVja2luZzEcMBoGA1UEBRMTRVUuRU9SSS5OTDAwMDAwMDAwMTENMAsGA1UECwwEVGVzdDETMBEGA1UECgwKaVNIQVJFVGVzdDELMAkGA1UEBhMCTkwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCTvswK5QL7yCgkp9bix2l4gpFkRHP+aoeD25FsCKnXUbpHW/QAi6/dOPGh6PFXTaL4QrdcPQIcokxUcGJgWF8rSQkdFpXDaRs1bG6CVw/nSkROoonbdAMGh+UCV6wOzuxDCaUysYh0MMsXKrv4lJ0Ah1ST6oCMnoTCUOTuqLUg/V/84XdDN1KjR67png+YZwpl22/skdPO6FE6mL23aLBz/AOs5nfiMeP+FJfklxoCgDGv9hE7bRhKBCIQqgXaikwoBxZF2Fp92qe/K0c/Sx/Q3Tkcve8a6gJIAoSpiKRjSlPoYmwLN76bK43BDUiU1OtJrvMZw+rNUC1IUSexOGTLAgMBAAGjgbUwgbIwHwYDVR0jBBgwFoAUbcVlicvfkVTRazy3AqUuzYpokB0wJwYDVR0lBCAwHgYIKwYBBQUHAwIGCCsGAQUFBwMEBggrBgEFBQcDATA3BggrBgEFBQcBAwQrMCkwCAYGBACORgEBMAgGBgQAjkYBBDATBgYEAI5GAQYwCQYHBACORgEGAjAdBgNVHQ4EFgQU6h8u1iZphlReD4SxckZeN3cA4SYwDgYDVR0PAQH/BAQDAgbAMA0GCSqGSIb3DQEBCwUAA4IBAQBY+5XE8N0Im+PWctdtwr5452B92gcszx/TapVbOoW4+mGLtKqDwkh/xRJN+5wFjGVlhg2W9ROEpuUcWGlbx+48wQ3OBWGXpdVeDvKaOA9KH2wDagn/A1TIiBR7MSwnFNS6CVus/khnCaMsdYl6OYItiUP8xF6YHAmtY/iT3RAzzVL+ZrOIYB66rp20O19sERlbURiFk34eF6LA78R8FACNgEuGNrmgkh7hl7Gt5Kgsylio6Smz3m5WAeqdhkY5BVn+a6wxzO7uRtZRHjhFPI7leOKd4EcLZ7UaByaU4aCxowiM+K6e/dovPZyBvXkVPV4UJOLxPg2DJT2evbzA31Ul",
            "x5t#s256": "778e88582bc15a1a11393f17db5e86898a8455e3e38762b63101f8e3b892c683"
          }
        ],
        "roles": [
          {
            "role": "ServiceConsumer",
            "start_date": "2024-02-12T00:00:00.000Z",
            "end_date": "2025-02-12T00:00:00.000Z",
            "loa": "",
            "complaiancy_verified": "no",
            "legal_adherence": "no"
          }
        ],
        "authregistery": []
      }
    ]
  },
  "sub": "EU.EORI.NLTESTPIRSAT1"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.ishare.eu/version-2.2/participant-registry-role/parties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
