Response
Success
curl --request POST \
--url https://api.offlineprotocol.com/api/v1/auth/verify-code \
--header 'Content-Type: application/json' \
--data '{
"email": "jsmith@example.com",
"otp": "<string>"
}'
{
"data": {
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"username": "<string>",
"walletAddress": "<string>",
"farcasterId": "<string>",
"coinbaseWallet": "<string>",
"worldId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"token": "<string>"
}
}
Verifies the OTP sent to the user’s email.
curl --request POST \
--url https://api.offlineprotocol.com/api/v1/auth/verify-code \
--header 'Content-Type: application/json' \
--data '{
"email": "jsmith@example.com",
"otp": "<string>"
}'
{
"data": {
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"username": "<string>",
"walletAddress": "<string>",
"farcasterId": "<string>",
"coinbaseWallet": "<string>",
"worldId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"token": "<string>"
}
}
Success
Show child attributes