> For the complete documentation index, see [llms.txt](https://docs-v1.archipels.io/archipels-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v1.archipels.io/archipels-documentation/create-attestation-request/get-and-accept-attestation/accept-attestation.md).

# Accept attestation

For this test, you need to create a second age attestation request.

* Click on `add attestation` or click on `Dicover` in the left menu&#x20;
* Let’s select for example with `Email attestation` again
* Click on the `Get` button of the attestation you want to request&#x20;
* On the next page, choose `Archipels` as verifier
* The page refreshes and displays the discussion with Archipels in the `Chat` section
* In the discussion, enter your email address and send the message
* You recieve in your mailbox an email from Archipels with an OTP
* Copy this OTP in your conversation and send it
* DO NOT CLICK ON:  "`Add to my wallet`"  !!!

**Get the list of attestations received (attestations waiting for acceptance)**:

* Create a new GET request like previously and enter the value: <mark style="background-color:orange;">{{base\_URL}}/attestations</mark>&#x20;
* In the `Params` tab, create a key with the name « <mark style="background-color:orange;">deliveryState</mark> », and set the value « <mark style="background-color:orange;">received</mark> »
* Alternatively, reuse the GET request you created to get the attestation, add the key «<mark style="background-color:orange;">deliveryState</mark>» with the value « <mark style="background-color:orange;">received</mark> », and unselect the `deliveryState` key with the value `accepted`

<figure><img src="/files/pJ7095Iq83vJY6kV0ZvI" alt=""><figcaption></figcaption></figure>

* Save the request and click `SEND`
* In the response, you can see the ID of the attestation waiting for acceptance

```
[
    {
        "id": "145bf9c0-789d-4062-93d4-18647af415f6",
        "source": "Archipels",
        "issuanceDate": "2024-07-16T08:58:00.531Z",
        "status": "valid",
        "deliveryState": "received",
        "expirationDate": "",
        "attributes": {
            "emailAddress": "renaud+doc2@archipels.io"
        },
        "schema": {
            "icon": "https://connect-prod.s3.fr-par.scw.cloud/icons/attestations/wallet/email.svg",
            "did": "7yrC9GegTsAAHz5Qc1CJpq:2:Email attestation:1.0",
            "name": "Email attestation"
        },
        "provider": {
            "name": "aries"
        },
        "issuer": {
            "did": "7yrC9GegTsAAHz5Qc1CJpq"
        }
    }
]
```

* Copy the ID (in the example: 145bf9c0-789d-4062-93d4-18647af415f6)
* Create a new request but with the Methode POST and the value <mark style="background-color:orange;">{{base\_URL}}/attestations/{id}/accept-offer</mark>
* replace {ID} by the ID received in response of the request above

<figure><img src="/files/B5gYOz30fHZMxHPWG3F2" alt=""><figcaption></figcaption></figure>

* Save the request and click `Send`
* The response is `204 no content` when the attestation has been accepted

<figure><img src="/files/7GR8o1PYX59j1yOaCPkk" alt=""><figcaption></figcaption></figure>

You will notice that 2 email attestations are now available in your wallet

<figure><img src="/files/KUCeWQSl0Tp9c9gmpTFR" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Instead of setting the presentationId directly in the path, set a path variable:\
in the path, replace the value of the presentation ID with this key "<mark style="background-color:orange;">:attestationId</mark>". You will notice that a new params part appears. Set the value with the presentation ID:
{% endhint %}

<figure><img src="/files/aaXevAnUx9436IYTkaYv" alt="" width="563"><figcaption></figcaption></figure>
