/services/platforms/v1/feedback/store
Auth
Rate limit: 20 requests per user per 5 minutes.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type |
string
suggestion, bug, other |
Yes | suggestion |
|
rating |
integer
min: 1 max: 5 |
Yes | 4 |
|
message |
string
max: 2000 |
Yes | The analytics dashboard is great but I would love to see a dark mode option. |
|
tool_key |
string|null
max: 100 |
No | analytics |
|
page |
string | Yes | https://app.wemasy.com/wm/analytics/dashboard |
|
user_agent |
string|null
max: 1000 |
No | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 |
| 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 | |
data |
mixed[] |
| 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 | |
data |
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 |
|---|---|---|
message |
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 |
curl -X POST "https://api.wemasy.nl/api/services/platforms/v1/feedback/store" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"type": "suggestion",
"rating": 4,
"message": "The analytics dashboard is great but I would love to see a dark mode option.",
"tool_key": "analytics",
"page": "https://app.wemasy.com/wm/analytics/dashboard",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
}'
fetch('https://api.wemasy.nl/api/services/platforms/v1/feedback/store', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"type": "suggestion",
"rating": 4,
"message": "The analytics dashboard is great but I would love to see a dark mode option.",
"tool_key": "analytics",
"page": "https://app.wemasy.com/wm/analytics/dashboard",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
})})
.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/feedback/store', {
"type": "suggestion",
"rating": 4,
"message": "The analytics dashboard is great but I would love to see a dark mode option.",
"tool_key": "analytics",
"page": "https://app.wemasy.com/wm/analytics/dashboard",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"type": "suggestion",
"rating": 4,
"message": "The analytics dashboard is great but I would love to see a dark mode option.",
"tool_key": "analytics",
"page": "https://app.wemasy.com/wm/analytics/dashboard",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/feedback/store", headers=headers, json=data)
print(r.json())
{
"error": false,
"message": "string",
"data": []
}