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. Send presentation request
  2. Send several Presentations

Get the presentation requests

The purpose to get the presentation request is to know what attestation and attributes are requested

From the Holder wallet

The webhook received once the Verifier sent the presentation request

{
  "event": "PRESENTATION_REQUEST_RECEIVED",
  "connectionId": "988f8949-ef29-4701-9e56-748a4da2ab63",
  "presentationId": "482ba620-e406-4af2-b4e4-368c1a8db0c4"
}
  • In the webhook, copy the presentationId

  • Create a new request with the Method POST and the value {{base_URL}}/presentations/{id}

  • Rename this request "Send presentation ID"

  • Replace {id} with the presentationId you have copied above

  • Save the request and click SEND

the response is

{
    "id": "4cab0bf0-42bb-4dd8-b69b-0cec8b84dc04",
    "connectionId": "5b2e0519-eb9a-49e3-b79f-9308b34795e4",
    "deliveryState": "requested",
    "attributes": {
        "type": {
            "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0"
        },
        "size": {
            "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0"
        },
        "price": {
            "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0"
        },
        "emailAttestation": {
            "schemaId": "5gP2EpQA2dtHMRtAxvXRK7:2:Email attestation:1.0"
        }
    },
    "predicates": {}
}
  • Thanks to this information you know that the Verifier requests the attributes "type", "size" and "price" from the schema "Test Attestation Publique XXX", and "emailAttestation" from the schema "Email attestation"

PrécédentSend Presentations requestSuivantOther features

Dernière mise à jour il y a 8 mois

Cet article vous a-t-il été utile ?

🔀
📑