Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Account → Create Phone Token
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Account' resource and the 'Create Phone Token' operation, it creates a phone token for a given phone number in E.164 format. This is useful for scenarios where phone verification or authentication via phone tokens is required, such as user account verification or two-factor authentication.
Use Case Examples
- Creating a phone token to verify a user's phone number during account registration.
- Generating a phone token to enable phone-based login or multi-factor authentication.
Properties
| Name | Meaning |
|---|---|
| Phone | The phone number in E.164 format for which the phone token will be created. |
Output
JSON
phoneToken- The created phone token associated with the provided phone number.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the phone number is provided in the correct E.164 format (e.g., +14155552671) to avoid validation errors.
- Check that the Appwrite API credentials (endpoint, project ID, API key) are correctly configured to prevent authentication failures.
- If the operation fails, verify that the Appwrite server is reachable and the account resource supports the 'Create Phone Token' operation.
Links
- Appwrite Account Create Phone Token API - Official documentation for creating phone tokens using the Appwrite Account API.