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. Other features
  2. Messages

Send a message

PrécédentMessagesSuivantDelete an attestation

Dernière mise à jour il y a 1 an

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

from the Verifier wallet

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

  • Rename this request "Send message"

  • Select the tab Body, then select raw and copy/paste this json request (replace the value of the connectionId with the one you already used for the previous connection with the Holder):

{
    "connectionId": "0f42f1da-ab2d-41da-91e1-167c31d966a9",
    "content": "This is a test message: HELLO WORLD"
}
  • save the request and click SEND

  • Now connect to the web interface of the Holder wallet. You will see the message in the Chats interface:

curl -X 'POST' \
  'https://connect-api.sandbox.archipels.io/messages' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer SFUIRE8GsrçSv4vs94VS94svvzOStgrrzjft=' \
  -H 'Content-Type: application/json' \
  -d '{
    "connectionId": "0f42f1da-ab2d-41da-91e1-167c31d966a9",
    "content": "This is a test message: HELLO WORLD"
}'
➕
📩