POST /v1/user

NOTE: This method is not accessible to users on Starter Plan API keys. Please contact us if you want premium access to our service

HTTP Method: POST

Path:  /v1/user

Authentication: API Key required, User ID required

Description:  Add a user to the User collection

Parameters:

 

Parameter Type Mandatory Description Example
api_key string yes the user API key b66qw3edr56thhg
_user_id string yes The user user_id ax34er6tt65edr
email string yes email of the new user larry@gmail.com
first_name string no user first name Larry
last_name string no user last name Page
user_type string yes Only "owner" is currently supported  owner

 

Sample Success Response:

{
    "success": true,
    "msg": "User created successfully",
    "data": {
        "ok": true,
        "id": "452eb2b5d50404d57bc217c66ff04f35",
        "rev": "3-3f124484d67ab2806674f284289dff0a"
      } 
}

Docs Navigation