Skip to content

Registers a new user​

POST
/api/users

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Request Body​

application/json
JSON
{
"firstName": "Melanie",
"lastName": "Musterfrau",
"token": "0123456789",
"password": "Password123!",
"gender": 2,
"birthdate": "string",
"mobilePhone": "+491234567890",
"subscribeNewsletter": true,
"location": {
"lat": 52.5,
"lon": 13.4
},
"address": {
"street": "",
"postalCode": null,
"city": ""
}
}

Responses​

Success

application/json
JSON
{
"hasNewsletterSubscriptionFailed": false
}

Playground​

Authorization
Body

Samples​

cURL
JavaScript
PHP
Python