Docs
Skip to content
post

Create Account

Endpoint

posthttps://<REGION>.cloud.appwrite.io/v1/account

Description

Required scopes

public

Authentication

Initialize the Appwrite client with setProject(). No signed-in user or server API key is required.

Rate limit

Up to 10 requests per hour for each IP address calling this endpoint.
Server API key requests bypass this rate limit.

Parameters

string
Required
string
Required
string
Required
string
Status
Content type
201
application/json

Account

Name
Type
Description
string
string
string
string
string
boolean
string
string
string
boolean
boolean
object
JavaScript
import { Client, Account } from "appwrite";
const client = new Client();
const account = new Account(client);
client
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;
const promise = account.create('[USER_ID]', 'email@example.com', 'password');
promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});