/services/platforms/v1/user/get
Auth
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
user |
object | |
user.id |
string | |
user.firstname |
mixed | |
user.lastname |
mixed | |
user.email |
mixed | |
user.phone_number |
string | |
user.invoice_email |
mixed | |
user.invoice_phonenumber |
mixed | |
user.invoice_company |
mixed | |
user.invoice_tax_number |
mixed | |
user.invoice_firstname |
mixed | |
user.invoice_lastname |
mixed | |
user.invoice_street |
mixed | |
user.invoice_number |
mixed | |
user.invoice_postcode |
mixed | |
user.invoice_city |
mixed | |
user.invoice_country |
mixed | |
user.invoice_is_company |
mixed | |
user.invoice_vat_number |
mixed | |
user.shipping_email |
mixed | |
user.shipping_phonenumber |
mixed | |
user.shipping_company |
mixed | |
user.shipping_firstname |
mixed | |
user.shipping_lastname |
mixed | |
user.shipping_street |
mixed | |
user.shipping_number |
mixed | |
user.shipping_postcode |
mixed | |
user.shipping_city |
mixed | |
user.shipping_country |
mixed | |
user.custom_shipping_information |
mixed | |
user.identifier_hash |
string | |
user.confirm_email_verified |
mixed | |
user.editor_template |
mixed | |
user.editor_text |
mixed | |
user.content_type |
mixed | |
user.editor_mode |
mixed | |
user.sidebar_layout_mode |
mixed | |
user.timezone |
string | |
user.language |
mixed | |
user.last_acknowledged_policy_versions |
string | |
user.current_policy_versions |
string | |
user.pending_policy_types |
string[] | |
user.enable_email_login_token |
string | |
user.has2Fa |
boolean | |
user.is_demo |
string | |
user.superadmin |
string |
| Field | Type | Description |
|---|---|---|
message |
string | Errors overview. |
errors |
object | A detailed description of each field that failed validation. |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
Retry-After |
integer | Seconds until the rate limit resets | 60 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
curl -X POST "https://api.wemasy.nl/api/services/platforms/v1/user/get" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
fetch('https://api.wemasy.nl/api/services/platforms/v1/user/get', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json' }})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
->accept('application/json')
->post('https://api.wemasy.nl/api/services/platforms/v1/user/get');
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/user/get", headers=headers)
print(r.json())
{
"user": {
"id": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"phone_number": "string",
"invoice_email": "string",
"invoice_phonenumber": "string",
"invoice_company": "string",
"invoice_tax_number": "string",
"invoice_firstname": "string",
"invoice_lastname": "string",
"invoice_street": "string",
"invoice_number": "string",
"invoice_postcode": "string",
"invoice_city": "string",
"invoice_country": "string",
"invoice_is_company": "string",
"invoice_vat_number": "string",
"shipping_email": "string",
"shipping_phonenumber": "string",
"shipping_company": "string",
"shipping_firstname": "string",
"shipping_lastname": "string",
"shipping_street": "string",
"shipping_number": "string",
"shipping_postcode": "string",
"shipping_city": "string",
"shipping_country": "string",
"custom_shipping_information": "string",
"identifier_hash": "string",
"confirm_email_verified": "string",
"editor_template": "string",
"editor_text": "string",
"content_type": "string",
"editor_mode": "string",
"sidebar_layout_mode": "string",
"timezone": "string",
"language": "string",
"last_acknowledged_policy_versions": "string",
"current_policy_versions": "string",
"pending_policy_types": [],
"enable_email_login_token": "string",
"has2Fa": true,
"is_demo": "string",
"superadmin": "string"
}
}