POST
/
v1
/
auth
/
verify
Verify
curl --request POST \
  --url https://api.amm.flashnet.xyz/v1/auth/verify \
  --header 'Content-Type: application/json' \
  --data '{
  "publicKey": "021eec911553028dded1ec644144cd3afee9d9bfe7846af3cf8e6d84f4b3102389",
  "signature": "304402203a7e5d4f8b2c9a1e6f0d5b8c4a9e7f2d1c8b5a4e9f0d6c5b3a2e1d0c9b8a7f02201f2e3d4c5b6a7980e9f0a1b2c3d4e5f67889a0b1c2d3e4f5a6b7c8d9e0f1a2b3"
}'
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMjFlZWM5MTE1NTMwMjhkZGVkMWVjNjQ0MTQ0Y2QzYWZlZTlkOWJmZTc4NDZhZjNjZjhlNmQ4NGY0YjMxMDIzODkiLCJleHAiOjE3MDUzNDUyMDB9.dGhlc2VhcmVub3RyZWFsdG9rZW5zYnV0anVzdGV4YW1wbGVz"
}

Body

application/json

The public key and signature to verify ownership

Request body for verifying a signed authentication challenge.

Contains the public key and signature proving ownership of the corresponding private key. The signature must be created by signing the challenge string received from the /v1/auth/challenge endpoint.

Response

200
application/json

Challenge verified successfully and JWT token issued

Response containing the JWT access token for authenticated API calls.