---
title: "Request S I W E Nonce"
method: POST
path: "/auth/siwe/nonce"
tags: ["auth"]
---

# Request S I W E Nonce

`POST /auth/siwe/nonce`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/auth/siwe/nonce`
- Auth: none declared

Public: issues a single-use nonce for `wallet_address` (optionally scoped by `tenant_code`) that the client embeds in its EIP-4361 "Sign-In with Ethereum" message; `login` with `provider: siwe` then verifies `message`+`signature` against it. An expired workspace code gets 404 `tenant_code_expired`.

## Request body

- InternalDeliveryHttpHandlerSiweNonceRequest
  - `tenant_code` string
  - `wallet_address` string

## Response `200`

OK

- InternalDeliveryHttpHandlerSiweNonceResponse
  - `nonce` string
  - `success` boolean

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
