/services/operations/v1/operations/boards/create
Auth
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
title |
string
max: 255 |
Yes | Website Launch Tasks |
|
description |
string|null | No | All tasks related to launching the new website |
|
color |
string|null
max: 50 |
No | #3B82F6 |
|
icon |
string|null
max: 100 |
No | clipboard-list |
|
position |
integer|null | No | 3 |
| 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 |
object | |
data.board |
object |
| 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[] |
| 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/operations/v1/operations/boards/create" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"title": "Website Launch Tasks",
"description": "All tasks related to launching the new website",
"color": "#3B82F6",
"icon": "clipboard-list",
"position": 3
}'
fetch('https://api.wemasy.nl/api/services/operations/v1/operations/boards/create', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"title": "Website Launch Tasks",
"description": "All tasks related to launching the new website",
"color": "#3B82F6",
"icon": "clipboard-list",
"position": 3
})})
.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/operations/v1/operations/boards/create', {
"title": "Website Launch Tasks",
"description": "All tasks related to launching the new website",
"color": "#3B82F6",
"icon": "clipboard-list",
"position": 3
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"title": "Website Launch Tasks",
"description": "All tasks related to launching the new website",
"color": "#3B82F6",
"icon": "clipboard-list",
"position": 3
}
r = requests.post("https://api.wemasy.nl/api/services/operations/v1/operations/boards/create", headers=headers, json=data)
print(r.json())
{
"error": false,
"message": "string",
"data": {
"board": {
"id": 0,
"project_id": 0,
"platform_id": 0,
"is_master": true,
"master_board_id": 0,
"tool_key": "string",
"is_readonly": true,
"title": "string",
"description": "string",
"color": "string",
"icon": "string",
"position": 0,
"is_active": true,
"created_by": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": "string"
}
}
}