---
title: "Verify SIWE (V1 Legacy)"
method: POST
path: "/v1/auth/api/siwe"
tags: ["Authentication"]
---

# Verify SIWE (V1 Legacy)

`POST /v1/auth/api/siwe`

V1-compatible endpoint to verify SIWE signature. Routes to V2 if user is migrated.

## Request body

- object
  - `wallet` string — Wallet address of the user.
  - `message` string — The original SIWE message that was signed by the user.
  - `signature` string — The signature generated by the user when signing the SIWE message.

## Response `200`

Default Response

- object
  - `data` object, required
    - `token` string, required — The JSON Web Token (JWT) for authenticated API requests.
    - `expires_in` number, required — Token expiration time in seconds (86400 = 24 hours).
    - `wallet_address` string, required — The wallet address of the authenticated user.

## Other responses

- `400` — Bad Request - Invalid parameters
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/riseworks/apis/b2b-api-v1-legacy.md) · [All operations](https://skmtc.net/riseworks/apis/b2b-api-v1-legacy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/riseworks/b2b-api-v1-legacy/revisions/6f6941749255/schema)
