Attestation request
In this section we describe how to create new attestation requests
Create an attestation request using API. In this example, you will request an onboarding attestation.
Get the connection ID:
Create a new GET request like previously and enter the value: « {{base_URL}}/connections »
In the Params tab, add a Key "status" with the Value "active"
Save the request and click
SEND
Response:
In our example, the connection ID for the issuer Archipels (DID Gjr2SvNwhHe3ZhmUNjKqHT) is the first id: 16787c48-7548-4f41-9770-a16212548866. So you need to identify the Archipels wallet (label: "Archipels", type: "business") and copy the corresponding connection ID.
Your connectionID will have a specific value. Don't reuse the one in the example
Archipels business DID will be different from the example provided
Now that you have all the data, you can create the Attestation send request using Chats
feature
Create a new request but with the Method POST and the value {{base_URL}}/messages
Select the tab
Body
, then select « raw » and copy/paste this json request (replacing the connectionId by your value):
Save the request and click on
SEND
The response is
204 no content
when your request is received
At the same time, a webhook is sent to the holder:
Dernière mise à jour
Cet article vous a-t-il été utile ?