Verify a SIWE signature and issue a session JWT
curl --request POST \
--url https://{host}/extern/fe/auth/verify \
--header 'Content-Type: application/json' \
--header 'X-Publishable-Key: <api-key>' \
--data '
{
"message": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Publishable-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', signature: '<string>'})
};
fetch('https://{host}/extern/fe/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/extern/fe/auth/verify"
payload = {
"message": "<string>",
"signature": "<string>"
}
headers = {
"X-Publishable-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"data": {
"token": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"account": {
"accountId": "8e9f4d67-51ad-49aa-a502-2f569aaf7399",
"safeAddress": "0x1234567890abcdef1234567890abcdef12345678",
"chainsDeployed": [
8453
]
}
}
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}Verify a SIWE signature and issue a session JWT
POST
/
extern
/
fe
/
auth
/
verify
Verify a SIWE signature and issue a session JWT
curl --request POST \
--url https://{host}/extern/fe/auth/verify \
--header 'Content-Type: application/json' \
--header 'X-Publishable-Key: <api-key>' \
--data '
{
"message": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Publishable-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', signature: '<string>'})
};
fetch('https://{host}/extern/fe/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/extern/fe/auth/verify"
payload = {
"message": "<string>",
"signature": "<string>"
}
headers = {
"X-Publishable-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"data": {
"token": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"account": {
"accountId": "8e9f4d67-51ad-49aa-a502-2f569aaf7399",
"safeAddress": "0x1234567890abcdef1234567890abcdef12345678",
"chainsDeployed": [
8453
]
}
}
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}Authorizations
Account Type publishable key (pk_live_...)
Body
application/json
Last modified on July 24, 2026
Was this page helpful?