# Stage Wallet Authentication API

The Stage Wallet Authentication API allows a user to sign in or sign in without any third-party wallet like meta mask, by signing up with this API we create a wallet on the eth network for you.

after calling this API you got an email with a verification code.

### Buy Plaque API

<mark style="color:green;">`POST`</mark> `https://api.stagemeta.dev/auth/stage-wallet`

#### Request Body

| Name  | Type   | Description |
| ----- | ------ | ----------- |
| email | String |             |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "result": true
}
```

{% endtab %}

{% tab title="500: Internal Server Error There was an error in preparing the plaque. Please contact Stagemeta support." %}

{% endtab %}

{% tab title="401: Unauthorized The access token provided in the Authorization header is invalid." %}

{% endtab %}

{% tab title="404: Not Found The plaque specified in the endpoint does not exist" %}

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Curl" %}

```bash
curl -X 'POST' \
  'https://api.stagemeta.dev/auth/stage-wallet' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "johndoe@example.com"
}'
```

{% endtab %}

{% tab title="Node" %}
{% code overflow="wrap" %}

```javascript
fetch('https://api.stagemeta.dev/auth/stage-wallet', {
  method: 'POST',
  headers: {
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  },
  body:{
    "email": "johndoe@example.com"
  }
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.stagemeta.world/reference/api-reference/stage-wallet-authentication-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
