---
title: "Complete SIWE Login"
method: POST
path: "/v1/auth/erc-4361/login/complete_challenge"
tags: ["Auth"]
---

# Complete SIWE Login

`POST /v1/auth/erc-4361/login/complete_challenge`

Complete Sign-In with Ethereum by submitting the signed challenge. Returns JWT.

## Request body

- LoginCompleteChallengeRequest
  - `id` string, required — The ID of the login challenge
  - `signature` string, required — The signed challenge proving wallet ownership
  - `source` string — Optional source identifier

## Response `200`

Auth token

- object
  - `success` boolean, required — Whether the request was successful
  - `error` string — Error message, present only on failure
  - `error_code` string — Semantic error code. See each endpoint's error responses for the specific codes it can return.
  - `deprecated` string — Deprecation notice, if applicable
  - `result` AuthToken
    - `identifier` string, required — Wallet address or email
    - `authType` 'web3' | 'web2:email_pass' | 'web2:google' | 'unknown', required — Authentication type
    - `accountId` string, required — Account ID
    - `issuedAtSecs` integer, required — Token issue time (Unix seconds)
    - `expirationSecs` integer, required — Token expiration time (Unix seconds)
    - `token` string, required — JWT token
    - `newAccount` boolean, required — True if a new account was created during this login

## Other responses

- `400` — Bad request. The request was malformed or failed validation.
- `429` — Rate limit exceeded. Slow down request frequency.
- `500` — Internal server error.

---

[API](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api.md) · [All operations](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ondoperps/ondo-perps-rest-api/revisions/39df6b2fa672/schema)
