---
title: "Verify a SIWE message and return a JWT for API authentication"
method: POST
path: "/v2/auth/verify"
tags: ["B2B Authentication"]
---

# Verify a SIWE message and return a JWT for API authentication

`POST /v2/auth/verify`

## Request body

- object
  - `message` string, required — The original SIWE message that was signed by the user.
  - `sig` string, required — The signature generated by the user when signing the SIWE message.
  - `nonce` string, required — A unique nonce to prevent replay attacks.

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `jwt` string, required — The JSON Web Token (JWT) for authenticated API requests.

## Other responses

- `400` — Bad Request
- `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)
