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. Set up

Get your DID wallet

Use the API to get the DID of your wallet

PrΓ©cΓ©dentCreate your test environmentSuivantCreate attestation request

Dernière mise à jour il y a 1 an

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

Now, create your first request. You will request to get the information from the wallet you 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 Β« wallet Β»

  • Keep GET because you are requesting data from the service

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

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

  • Save the request

  • Click on Send button

Here is the response from the service:

[
    {
        "id": "33b397c3-a449-4ff2-994e-406200c89c4d",
        "dids": [
            "H9R4MFoMC5oxttYgohABTV"
        ],
        "label": null,
        "type": "individual",
        "validated": false
    }
]

In our example, the DID of our wallet is H9R4MFoMC5oxttYgohABTV

Add automatically the walletDID variable in the header of all your requests:

to simplify the edition of your requests, we suggest to create a Pre-request Script to add a variable in the collection-level header.

  • select your collection (Collection Archipels Connect Holder), and click on the Pre-request Script tab

  • copy this script:

    pm.request.headers.add({key: 'wallet', value: '{{walletDIDholder}}'})
  • Save the configuration

In the environment you set in the previous section "", add a new variable and call it walletDIDholder. Copy the DID your got in the "initial value" columns.

βš’οΈ
create your test environment