/
Create New User

Create New User

Request

Key

Description

Key

Description

email

The new user's email address (used as login username).

password

The new user's password (at least 6 characters long).

In order to create a new user, submit a POST request to /api/users.

//creating a new user curl -v -X POST --data '{"email":"some_user@example.com", "password":"supersecret"}' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: BEARER 74c1e7fe-e464-451f-a6eb-8f0998c46ff6' 'https://user.gini.net/api/users'

 

If the request entity is invalid (missing field(s), password < 6 characters) or a user with that email address already exists, the API responds with 400 Bad Request.

POST /api/users HTTP/1.1 Host: user.gini.net Authorization: BEARER 74c1e7fe-e464-451f-a6eb-8f0998c46ff6 Content-Type: application/json {"email":"some_user@example.com","password:"supersecret"} //example response HTTP/1.1 201 Created Location: https://user.gini.net/api/users/c1e60c6b-a0a4-4d80-81eb-c1c6de729a0e Content-Length: 0

Related content

Change User's Password/Email
Change User's Password/Email
More like this
Authenticate on Behalf of User
Authenticate on Behalf of User
More like this
Authenticate Client
Authenticate Client
More like this
Retrieve User Information
Retrieve User Information
More like this
How to Process Documents
How to Process Documents
More like this
Create Payment Requests
Create Payment Requests
More like this