Authentication
Log in
Log in a user using SIWE
POST
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.Almost every API endpoint is authenticated using Bearer JWT tokens. In order to get the token, users sign an Otim-specific SIWE and submit the signature
and siwe
message to this endpoint.
Here’s a script to fetch both the siwe
and signature
inputs:
Body
application/json
Response
200 - application/json
Successful authentication
The response is of type object
.