Archipels Documentation
  • πŸ«‚Welcome!
    • 🏒Who are we?
    • πŸ†”What is SSI?
    • πŸ‘¨β€πŸ«Glossary of terms
  • πŸ‘©β€πŸ”§Product Overview
    • Wallet
    • Electronic Attestations
    • DIDs
    • Trust Registry
  • βš’οΈSet up
    • Create an individual wallet and request an attestation
    • Configure an access token
    • Create a Webhook
    • Create your test environment
    • Get your DID wallet
  • πŸ—οΈCreate attestation request
    • 🧩Get and Accept Attestation
      • API call : get attestations in my wallet
      • Accept attestation
    • πŸ—οΈCreate an Onboarding attestation request against Archipels
      • Attestation request
      • Accept attestation
    • πŸ—οΈCreate an email attestation request against Archipels
      • Attestation request
      • Accept attestation
  • πŸ“ƒIssue attestation
    • Create a second wallet and configure this new environment
    • Create a schema attestation
    • Create a connection: Create an invitation
    • Create a connection: Accept an invitation
    • Attestation send offer
    • Accept attestation
  • πŸ”€Send presentation request
    • πŸͺͺSend a Presentation
      • Create a third wallet and configure this new environment
      • Create a connection
      • Send Presentation request
      • Get the list of presentation requests (not available currently)
      • Get the presentation requests
      • Get the list of valid attestations
      • Send/Show presentation
      • Get the presentation
    • πŸ“‘Send several Presentations
      • Send Presentations request
      • Get the presentation requests
  • βž•Other features
    • πŸ“©Messages
      • Send a message
    • πŸ“ƒDelete an attestation
      • Delete attestation
  • 🏁API: COLLECTIONS
  • List of schemes
  • πŸ”—Links
    • Website
    • Recruitement
    • Doc for Archipels Certify
    • Trust Registry
PropulsΓ© par GitBook
Sur cette page

Cet article vous a-t-il Γ©tΓ© utile ?

  1. Create attestation request
  2. Get and Accept Attestation

API call : get attestations in my wallet

Here we describe how to get with API information about existing attestations

PrΓ©cΓ©dentGet and Accept AttestationSuivantAccept attestation

Dernière mise à jour il y a 10 mois

Cet article vous a-t-il Γ©tΓ© utile ?

Now, create your second request. You will request to get the information from the attestation created previously via the UI

  • Select your collection and right-click. In the list, select add request

The right panel displays a new interface

  • Replace the name Β« New Request Β» with a relevant name regarding the request you are creating. For example Β« List of Accepted Attestations Β»

  • Keep GET because you are requesting data from the service

  • In the URL field, replace by {{Base_URL}}/attestations

When you send the request, {{Base_URL}} will be automatically replaced by the value you have defined previously in the Environment

  • In the Params tab, create a Key with the name Β« deliveryState Β», and set the Value Β« accepted Β»

If you want to see the attestation received and not yet accepted, replace "accepted" with "received"

  • Save the request

  • Click on Send button

Here is the response from the service:

[
    {
        "id": "8fd4cf4a-5ef5-4e56-8fb9-c87f8465df56",
        "source": "Archipels",
        "issuanceDate": "2024-07-15T16:52:15.128Z",
        "status": "valid",
        "deliveryState": "accepted",
        "expirationDate": "",
        "attributes": {
            "emailAddress": "renaud+doc@archipels.io"
        },
        "schema": {
            "icon": "https://connect-prod.s3.fr-par.scw.cloud/icons/attestations/wallet/email.svg",
            "did": "7yrC9GegTsAAHz5Qc1CJpq:2:Email attestation:1.0",
            "name": "Email attestation"
        },
        "provider": {
            "name": "aries"
        },
        "issuer": {
            "did": "7yrC9GegTsAAHz5Qc1CJpq"
        }
    }
]

You notice you get the same information displayed in your wallet from the web interface and some extra like the attestation ID and schema did

πŸ—οΈ
🧩