Wallet sign-in (SIWE)
curl --request POST \
--url https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login \
--header 'Content-Type: application/json' \
--data '
{
"walletAddress": "0xAbC0000000000000000000000000000000000001",
"nonce": "9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c",
"signature": "0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b"
}
'import requests
url = "https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login"
payload = {
"walletAddress": "0xAbC0000000000000000000000000000000000001",
"nonce": "9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c",
"signature": "0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
walletAddress: '0xAbC0000000000000000000000000000000000001',
nonce: '9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c',
signature: '0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b'
})
};
fetch('https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'walletAddress' => '0xAbC0000000000000000000000000000000000001',
'nonce' => '9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c',
'signature' => '0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login"
payload := strings.NewReader("{\n \"walletAddress\": \"0xAbC0000000000000000000000000000000000001\",\n \"nonce\": \"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c\",\n \"signature\": \"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login")
.header("Content-Type", "application/json")
.body("{\n \"walletAddress\": \"0xAbC0000000000000000000000000000000000001\",\n \"nonce\": \"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c\",\n \"signature\": \"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"walletAddress\": \"0xAbC0000000000000000000000000000000000001\",\n \"nonce\": \"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c\",\n \"signature\": \"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b\"\n}"
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Request successful",
"data": {
"walletAddress": "0xAbC0000000000000000000000000000000000001",
"workspaces": [
{
"id": "8c3a5b6f-1d2e-4f7a-9b8c-d1e2f3a4b5c6",
"slug": "acme",
"name": "Acme Visuals",
"role": "OWNER"
}
]
},
"timestamp": "2026-05-13T12:00:00.000Z"
}{
"statusCode": 400,
"code": "INVALID_INPUT",
"message": "Invalid request payload",
"detail": "invalid_input:example",
"timestamp": "2026-05-13T12:00:00.000Z"
}{
"statusCode": 401,
"code": "NOT_AUTHENTICATED",
"message": "Session expired or missing",
"detail": "not_authenticated:example",
"timestamp": "2026-05-13T12:00:00.000Z"
}Authentication
Wallet sign-in (SIWE)
Step 2 of wallet sign-in. Verifies the signature (EOA via ECDSA recovery, smart wallets via ERC-1271), mints a wallet session cookie, and returns the workspaces this wallet can access. Public — the signature is the proof.
POST
/
api
/
v1
/
auth
/
wallet
/
login
Wallet sign-in (SIWE)
curl --request POST \
--url https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login \
--header 'Content-Type: application/json' \
--data '
{
"walletAddress": "0xAbC0000000000000000000000000000000000001",
"nonce": "9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c",
"signature": "0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b"
}
'import requests
url = "https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login"
payload = {
"walletAddress": "0xAbC0000000000000000000000000000000000001",
"nonce": "9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c",
"signature": "0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
walletAddress: '0xAbC0000000000000000000000000000000000001',
nonce: '9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c',
signature: '0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b'
})
};
fetch('https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'walletAddress' => '0xAbC0000000000000000000000000000000000001',
'nonce' => '9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c',
'signature' => '0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login"
payload := strings.NewReader("{\n \"walletAddress\": \"0xAbC0000000000000000000000000000000000001\",\n \"nonce\": \"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c\",\n \"signature\": \"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login")
.header("Content-Type", "application/json")
.body("{\n \"walletAddress\": \"0xAbC0000000000000000000000000000000000001\",\n \"nonce\": \"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c\",\n \"signature\": \"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.luxxon.dev/api/v1/api/v1/auth/wallet/login")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"walletAddress\": \"0xAbC0000000000000000000000000000000000001\",\n \"nonce\": \"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c\",\n \"signature\": \"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b\"\n}"
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Request successful",
"data": {
"walletAddress": "0xAbC0000000000000000000000000000000000001",
"workspaces": [
{
"id": "8c3a5b6f-1d2e-4f7a-9b8c-d1e2f3a4b5c6",
"slug": "acme",
"name": "Acme Visuals",
"role": "OWNER"
}
]
},
"timestamp": "2026-05-13T12:00:00.000Z"
}{
"statusCode": 400,
"code": "INVALID_INPUT",
"message": "Invalid request payload",
"detail": "invalid_input:example",
"timestamp": "2026-05-13T12:00:00.000Z"
}{
"statusCode": 401,
"code": "NOT_AUTHENTICATED",
"message": "Session expired or missing",
"detail": "not_authenticated:example",
"timestamp": "2026-05-13T12:00:00.000Z"
}Body
application/json
Example:
"0xAbC0000000000000000000000000000000000001"
Example:
"9f3a2b1c0d4e5f6a7b8c9d0e1f2a3b4c"
0x-prefixed signature. EOA or ERC-1271 smart wallet sig.
Example:
"0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b"
⌘I