Docs
Skip to content
post

Create account

Endpoint

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

Description

Required scopes

sessions.write

Authentication

Initialize the Appwrite client with setProject() and a signed-in user (setSession() or setJWT()). For direct REST calls, send X-Appwrite-Project with session/JWT headers.

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

User

Name
Type
Description
string
string
string
string
string
string
object
string
boolean
arrayof string
string
string
string
boolean
string
boolean
boolean
boolean
boolean
boolean
boolean
object
arrayof Target

Object type

string
boolean
string
JavaScript
const sdk = require('node-appwrite');
const client = new sdk.Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>') // Your project ID
.setSession(''); // The user session to authenticate with
const account = new sdk.Account(client);
const result = await account.create({
userId: '<USER_ID>',
email: 'email@example.com',
password: 'password',
name: '<NAME>' // optional
});