Registration #
Microbooks is currently in its closed beta testing stage so to gain access to the API, please send a request email to beta@microbooks.io and we’ll add your email to the whitelist so you can register an account.
Registering an account simply requires your name, email and preferred password.
Request #
curl --location --request POST 'https://api.microbooks.io/auth/v1/account' \
--data-raw '{
"name": "John Doe",
"email": "john.doe@example.com",
"password": "securepassword"
}'
import requests
url = "https://api.microbooks.io/auth/v1/account"
body = {"name": "John Doe", "email": "john.doe@example.com", "password": "securepassword"}
headers = {}
response = requests.request("POST", url, headers=headers, json=body)
print(response.text)
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://api.microbooks.io/auth/v1/account',
'headers': {},
'body': '{
"name": "John Doe",
"email": "john.doe@example.com",
"password": "securepassword"
}'
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$client = new Client();
$body = '{
"name": "John Doe",
"email": "john.doe@example.com",
"password": "securepassword"
}';
$request = new Request('POST', 'https://api.microbooks.io/auth/v1/account',
[],
$body
);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
var client = new RestClient("https://api.microbooks.io/auth/v1/account");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
var body = "{
\"name\": \"John Doe\",
\"email\": \"john.doe@example.com\",
\"password\": \"securepassword\"
}";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
Response #
{
"name": "John Doe",
"email": "john.doe@example.com",
"id": 1
}