Create Phone session api, /v1/account/sessions/phone
return Token Object
. In that one key which is mentioned is that secret
.
And description of that key is stated as
Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
Can I get more clearification on this? Also, If I am not wrong /v1/account/sessions/phone
can only work if in the .env
file I have put token of SMS provider right? Without that we can not call this API? If I am not wrong. https://appwrite.io/docs/models/token
Hi π
Let me have a look quickly
If you use an API key, then the response will contain the key, if not then it will be empty. And yes you are right about the environment variable: https://appwrite.io/docs/environment-variables#phone. You will need it to call the API else there will be an error thrown.
thank you, so for now I guess kinda thinking to go with this arch based on API that are aval. Any thought?
Can I understand what you are trying to implement?
actually, this represent registation flow using phone number,
this represent phone verfication flow. In of the flow I was thinking to use Function
cc @joeyouss
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...