cURL
curl --request POST \
--url https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM} \
--header 'Content-Type: application/json' \
--data '
{
"apiKey": "api key",
"baseUrl": "https://entity-api1-4.demo.abacus.ch",
"clientName": "client name",
"clientSecret": "client secret",
"mandant": "7777",
"password": "ServiceUserPassword123",
"tenantId": "tenant id",
"username": "Rob_Smith"
}
'import requests
url = "https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}"
payload = {
"apiKey": "api key",
"baseUrl": "https://entity-api1-4.demo.abacus.ch",
"clientName": "client name",
"clientSecret": "client secret",
"mandant": "7777",
"password": "ServiceUserPassword123",
"tenantId": "tenant id",
"username": "Rob_Smith"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
apiKey: 'api key',
baseUrl: 'https://entity-api1-4.demo.abacus.ch',
clientName: 'client name',
clientSecret: 'client secret',
mandant: '7777',
password: 'ServiceUserPassword123',
tenantId: 'tenant id',
username: 'Rob_Smith'
})
};
fetch('https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'apiKey' => 'api key',
'baseUrl' => 'https://entity-api1-4.demo.abacus.ch',
'clientName' => 'client name',
'clientSecret' => 'client secret',
'mandant' => '7777',
'password' => 'ServiceUserPassword123',
'tenantId' => 'tenant id',
'username' => 'Rob_Smith'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}"
payload := strings.NewReader("{\n \"apiKey\": \"api key\",\n \"baseUrl\": \"https://entity-api1-4.demo.abacus.ch\",\n \"clientName\": \"client name\",\n \"clientSecret\": \"client secret\",\n \"mandant\": \"7777\",\n \"password\": \"ServiceUserPassword123\",\n \"tenantId\": \"tenant id\",\n \"username\": \"Rob_Smith\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}")
.header("Content-Type", "application/json")
.body("{\n \"apiKey\": \"api key\",\n \"baseUrl\": \"https://entity-api1-4.demo.abacus.ch\",\n \"clientName\": \"client name\",\n \"clientSecret\": \"client secret\",\n \"mandant\": \"7777\",\n \"password\": \"ServiceUserPassword123\",\n \"tenantId\": \"tenant id\",\n \"username\": \"Rob_Smith\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"apiKey\": \"api key\",\n \"baseUrl\": \"https://entity-api1-4.demo.abacus.ch\",\n \"clientName\": \"client name\",\n \"clientSecret\": \"client secret\",\n \"mandant\": \"7777\",\n \"password\": \"ServiceUserPassword123\",\n \"tenantId\": \"tenant id\",\n \"username\": \"Rob_Smith\"\n}"
response = http.request(request)
puts response.read_bodyAuthentication
Create account
POST
/
auth
/
accounts
/
{TARGET_SYSTEM}
cURL
curl --request POST \
--url https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM} \
--header 'Content-Type: application/json' \
--data '
{
"apiKey": "api key",
"baseUrl": "https://entity-api1-4.demo.abacus.ch",
"clientName": "client name",
"clientSecret": "client secret",
"mandant": "7777",
"password": "ServiceUserPassword123",
"tenantId": "tenant id",
"username": "Rob_Smith"
}
'import requests
url = "https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}"
payload = {
"apiKey": "api key",
"baseUrl": "https://entity-api1-4.demo.abacus.ch",
"clientName": "client name",
"clientSecret": "client secret",
"mandant": "7777",
"password": "ServiceUserPassword123",
"tenantId": "tenant id",
"username": "Rob_Smith"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
apiKey: 'api key',
baseUrl: 'https://entity-api1-4.demo.abacus.ch',
clientName: 'client name',
clientSecret: 'client secret',
mandant: '7777',
password: 'ServiceUserPassword123',
tenantId: 'tenant id',
username: 'Rob_Smith'
})
};
fetch('https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'apiKey' => 'api key',
'baseUrl' => 'https://entity-api1-4.demo.abacus.ch',
'clientName' => 'client name',
'clientSecret' => 'client secret',
'mandant' => '7777',
'password' => 'ServiceUserPassword123',
'tenantId' => 'tenant id',
'username' => 'Rob_Smith'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}"
payload := strings.NewReader("{\n \"apiKey\": \"api key\",\n \"baseUrl\": \"https://entity-api1-4.demo.abacus.ch\",\n \"clientName\": \"client name\",\n \"clientSecret\": \"client secret\",\n \"mandant\": \"7777\",\n \"password\": \"ServiceUserPassword123\",\n \"tenantId\": \"tenant id\",\n \"username\": \"Rob_Smith\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}")
.header("Content-Type", "application/json")
.body("{\n \"apiKey\": \"api key\",\n \"baseUrl\": \"https://entity-api1-4.demo.abacus.ch\",\n \"clientName\": \"client name\",\n \"clientSecret\": \"client secret\",\n \"mandant\": \"7777\",\n \"password\": \"ServiceUserPassword123\",\n \"tenantId\": \"tenant id\",\n \"username\": \"Rob_Smith\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.maesn.dev/auth/accounts/{TARGET_SYSTEM}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"apiKey\": \"api key\",\n \"baseUrl\": \"https://entity-api1-4.demo.abacus.ch\",\n \"clientName\": \"client name\",\n \"clientSecret\": \"client secret\",\n \"mandant\": \"7777\",\n \"password\": \"ServiceUserPassword123\",\n \"tenantId\": \"tenant id\",\n \"username\": \"Rob_Smith\"\n}"
response = http.request(request)
puts response.read_bodySystem-specific requirements

Holded
Holded
Supported request parameters:
string
required

Lexware Office
Lexware Office
Supported request parameters:
string
required

sevdesk
sevdesk
Supported request parameters:
string
required

Snelstart
Snelstart
Supported request parameters:
string
required
Headers
API key
Path Parameters
Body
application/json
Example:
"api key"
Example:
"https://entity-api1-4.demo.abacus.ch"
Example:
"client name"
Example:
"client secret"
Example:
"7777"
Example:
"ServiceUserPassword123"
Example:
"tenant id"
Example:
"Rob_Smith"
Response
201 - undefined
Last modified on July 9, 2026
Was this page helpful?
⌘I