The “Try it” feature for this endpoint doesn’t work because it doesn’t double escapes newlines randomly for the
siwe input. We recommend you try this in your terminal or a script.signature and siwe message to this endpoint.
Here’s a script to fetch both the siwe and signature inputs:
Body
application/json
SIWE message as a raw string
Example:
"By signing in, you agree to the Terms and Conditions (https://otim.com/tac) and Privacy Policy (https://otim.com/pp).\nURI: https://otim.com Version: 1.0.0 Chain ID: 1 Nonce: 1728633600000 Issued At: 2025-02-07T16:00:00.000Z"
Response
200 - application/json
Successful authentication
JWT token for API authentication
Example:
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."