API call : get attestations in my wallet
Here we describe how to get with API information about existing attestations
Dernière mise à jour
Here we describe how to get with API information about existing attestations
Dernière mise à jour
Now, create your second request. You will request to get the information from the attestation 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 Β« List of Accepted Attestations Β»
Keep GET
because you are requesting data from the service
In the URL field, replace by {{Base_URL}}/attestations
When you send the request, {{Base_URL}} will be automatically replaced by the value you have defined previously in the Environment
In the Params
tab, create a Key
with the name Β« deliveryState Β», and set the Value
Β« accepted Β»
If you want to see the attestation received and not yet accepted, replace "accepted" with "received"
Save the request
Click on Send
button
Here is the response from the service:
You notice you get the same information displayed in your wallet from the web interface and some extra like the attestation ID and schema did