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. Create an email attestation request against Archipels

Accept attestation

Here we describe how to accept the attestation

PrécédentAttestation requestSuivantIssue attestation

Dernière mise à jour il y a 8 mois

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

In the previous section you sent an attestation request. At the same time a webhook was sent to the holder:

{
  "type": "AttestationOfferReceived",
  "payload": {
    "connectionId": "694b8024-e34c-4aaa-b3c4-dd114f3cba4c",
    "walletDid": "7e2uxoCMDTErr9jsuKpSHH",
    "attestationId": "5cf231d3-30ab-4f05-b5c8-d6dd568c4cef",
    "ssiProvider": "aries"
  },
  "timestamp": "2024-09-05T18:15:08.538Z"
}
  • Then, retrieve the attestation ID from the webhook. Here the ID is 5cf231d3-30ab-4f05-b5c8-d6dd568c4cef

You can also retreive the attestationId thanks to the call GET attestation, with the Key « deliveryState » set to the value « received »

Accepte the attestation offer:

  • Create a new request but with the Methode POST and the value {{base_URL}}/attestations/{id}/accept-offer

  • replace {ID} by the ID received from the webhook Attestation_offer_received

  • Save and click SEND

  • The response is 204 when the attestation has been accepted

  • At the same time, a webhook notification is received for the holder:

{
  "type": "AttestationReceived",
  "payload": {
    "walletDid": "7e2uxoCMDTErr9jsuKpSHH",
    "ssiProvider": "aries",
    "attestationId": "5cf231d3-30ab-4f05-b5c8-d6dd568c4cef,
    "connectionId": "694b8024-e34c-4aaa-b3c4-dd114f3cba4c"
  },
  "timestamp": "2024-09-05T18:17:15.325Z"
}
🏗️
🏗️