/services/contacts/v1/export
Auth
The list with the same filters, one person per row. Only the sources this member may open.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
search |
string|null
max: 191 |
No | ||
source |
string|null
forms, tickets, bookings, waitlist, orders, customers, newsletter, |
No | ||
status |
string|null
open, customer, lead, subscriber, |
No | ||
tag |
string|null
max: 40 |
No | ||
period |
string|null
today, 7d, 30d, 90d, all, |
No | ||
since |
string|null (date) | No |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 20 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 17 |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 20 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 17 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 20 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 17 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 20 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 17 |
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/contacts/v1/export" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"search": "string",
"source": "string",
"status": "string",
"tag": "string",
"period": "string",
"since": "string"
}'
fetch('https://api.wemasy.nl/api/services/contacts/v1/export', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"search": "string",
"source": "string",
"status": "string",
"tag": "string",
"period": "string",
"since": "string"
})})
.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/contacts/v1/export', {
"search": "string",
"source": "string",
"status": "string",
"tag": "string",
"period": "string",
"since": "string"
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"search": "string",
"source": "string",
"status": "string",
"tag": "string",
"period": "string",
"since": "string"
}
r = requests.post("https://api.wemasy.nl/api/services/contacts/v1/export", headers=headers, json=data)
print(r.json())