WS24/API Docs
[api · v1]

REST API for programmatic task management.

The WS24 Dev API lets authenticated clients list, create, update and comment on tasks. All requests are authenticated via the X-API-Key header and rate-limited at 500 req/min.

// base urlhttps://ws24.dev/api/v1
[01] Authentication

One key per user, sent on every request.

All API requests must include a valid key in the X-API-Key header. Keys are issued through your profile and rotate at your discretion.

API Key Format

Keys start with ws24_live_, followed by up to 32 random letters and digits:

ws24_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Sending the key

Include your API key in the X-API-Key header for every request:

$ curl -H "X-API-Key: ws24_live_your_key_here" https://ws24.dev/api/v1/tasks

Managing API keys

Client accounts manage keys in Profile → API Keys:

  1. Click Create API Key, give it a name and confirm with your current password. An account without a password (Google or GitHub sign-in) needs a recent sign-in instead: a stolen session alone cannot mint a key.
  2. Copy the full key right away. It's shown once; afterwards only its prefix is visible.
  3. Delete the key with the delete button when it's no longer needed.

Limit: one active key per user at a time. Delete the old key before you create a new one.

Keys carry read and write permissions: a read-only key gets 403 Permission denied on POST and PUT. A key can have an expiry date; an expired key gets 401, and keys of a blocked account get 403.

[02] Rate Limiting

500 requests per minute per key.

Limits are counted per API key and shared by all our servers, so a restart or another server does not reset them. Every 429 carries a Retry-After header in seconds; the per-key limit repeats it as retryAfter in the body.
500/min
// per API key
600/min
// per IP, all keys
Retry-After
// header, seconds

After 30 failed authentication attempts in 15 minutes (unknown, wrong or expired keys), an IP address is paused with the same 429 until the window ends.

// 429 response
{
  "error": "Rate limit exceeded",
  "message": "Too many requests. Rate limit: 500 requests per minute",
  "retryAfter": 45
}
[03] Endpoints

Tasks · v1.

All endpoints return application/json. Errors share a common shape — see Error Responses below.
GET /api/v1/tasks

List tasks

Returns a paginated list of tasks visible to the authenticated user.

// query parameters (all optional)
status // filter by task status, e.g. in_progress
page   // default 1
limit  // default 20, max 100
sort   // created_at (default), updated_at or title
order  // asc or desc (default)
// request
$ curl -H "X-API-Key: ws24_live_..." \
       "https://ws24.dev/api/v1/tasks?status=in_progress&page=1&limit=10&sort=created_at&order=desc"
// response · 200 OK
{
  "tasks": [
    {
      "id": 123,
      "title": "Website redesign",
      "description": "Update homepage with new branding",
      "category": "general",
      "priority": "medium",
      "status": "in_progress",
      "storeUrl": "https://example.com",
      "deadline": null,
      "totalCost": "450.00",
      "createdAt": "2026-11-01T10:00:00Z",
      "updatedAt": "2026-11-10T15:30:00Z"
    }
  ],
  "pagination": {
    "page": 1, "limit": 10, "total": 45, "totalPages": 5
  }
}
GET /api/v1/tasks/:id

Get task by ID

// request
$ curl -H "X-API-Key: ws24_live_..." https://ws24.dev/api/v1/tasks/123
// response · 200 OK
{ "task": { "id": 123, "title": "Website redesign", "status": "in_progress", ... } }

404 if the task does not exist, 403 if it belongs to another user.

// task fields (list and single task)
id, title, description // the task itself
category, priority      // set by the team; editable via PUT
status                  // created, evaluating, evaluated, paid, in_progress,
                        // awaiting_confirmation, awaiting_payment, completed,
                        // canceled, pending, rejected
storeUrl                // your store, http(s)
deadline                // ISO 8601 or null
totalCost               // evaluated cost, set by the specialist
attachments             // attached files
rating, ratingComment, ratedAt  // your rating of a finished task
createdAt, updatedAt, completedAt

Internal fields (the assigned specialist, hourly rate, visitor tracking data) are never returned.

POST /api/v1/tasks

Create a task

Requires Content-Type: application/json. Returns the created task with its assigned ID.

// request body fields
title       // string, 1-255 characters, required
description // string, required
deadline    // ISO 8601 date, optional (400 if it is not a date)

A new task starts with the status set for new requests (normally created), priority medium and category general, and you get the usual new-task email. Only client accounts create tasks: a specialist's key gets 403.

// request
$ curl -X POST -H "X-API-Key: ws24_live_..." -H "Content-Type: application/json" \
       -d '{
         "title": "Mobile app development",
         "description": "Develop iOS app for our service",
         "deadline": "2026-12-31"
       }' https://ws24.dev/api/v1/tasks
// response · 201 Created
{
  "message": "Task created successfully",
  "task": { "id": 124, "status": "created", ... }
}
PUT /api/v1/tasks/:id

Update a task

// request body fields (all optional)
title              // 1-255 characters
description
category, priority
storeUrl           // must start with http:// or https://
deadline           // ISO 8601 date

status is not editable through the API: a body with status gets 400, because status changes move money and go through the dashboard. Cost fields are not editable either. A finished task (completed, canceled, rejected), or any task while ticket editing is switched off, answers 403 Editing not allowed.

// request
$ curl -X PUT -H "X-API-Key: ws24_live_..." -H "Content-Type: application/json" \
       -d '{ "description": "Updated requirements: checkout page first" }' \
       https://ws24.dev/api/v1/tasks/123
// response · 200 OK
{
  "message": "Task updated successfully",
  "task": { "id": 123, "description": "Updated requirements: checkout page first", ... }
}
POST /api/v1/tasks/:id/updates

Add a comment

Body: content (required). The update is always stored as a comment, and the people on the task are notified. A finished task (completed, canceled, rejected) answers 409 Task closed.

// request
$ curl -X POST -H "X-API-Key: ws24_live_..." -H "Content-Type: application/json" \
       -d '{ "content": "Please prioritize the checkout page" }' \
       https://ws24.dev/api/v1/tasks/123/updates
// response · 201 Created
{
  "message": "Update added successfully",
  "update": { "id": 456, "taskId": 123, "type": "comment", ... }
}
[04] Error Responses

Same envelope, mapped to HTTP status.

All errors return JSON with error and message. Validation errors (400 Validation failed) add a details array.
{
  "error": "Error type",
  "message": "Human-readable error message",
  "details": []
}
200OK — request successful
201Created — resource created successfully
400Bad Request — invalid request parameters
401Unauthorized — missing, malformed, invalid or expired API key
403Forbidden — read-only key, blocked account, another user's task, a specialist creating a task, or a task that can no longer be edited
404Not Found — task not found
409Conflict — the task is closed and takes no more comments
429Too Many Requests — rate limit exceeded
500Internal Server Error — server-side fault
[05] Best Practices

Five things that ship resilient integrations.

Same advice we give every client building against a third-party API — keys safe, retries gentle, lists paginated.

Secure your API key

Never expose the key in client-side code or public repositories. Treat it like a password.

Handle rate limits

Implement exponential backoff with jitter when you receive 429 responses. Wait the Retry-After seconds before the next try.

Use pagination

Always paginate list endpoints: 20 tasks per page by default, up to 100 with limit.

Handle errors gracefully

Match on error and message fields rather than parsing free-text strings.

Rotate keys periodically

Only one key can be active, so plan a short switch: delete the old key, create a new one and update your client right away. Aim for quarterly rotation.

[06] Code Examples

Copy/paste in your language.

Three runnable starters — Python (requests), Node.js (axios), and a plain bash script.
Pythonrequests Node.jsaxios cURLbash
import requests

API_KEY = "ws24_live_your_key_here"
BASE_URL = "https://ws24.dev/api/v1"

headers = {
    "X-API-Key": API_KEY,
    "Content-Type": "application/json",
}

# Get tasks
response = requests.get(f"{BASE_URL}/tasks", headers=headers)
tasks = response.json()

# Create a task
new_task = {
    "title": "New project",
    "description": "Project description",
}
created = requests.post(f"{BASE_URL}/tasks", headers=headers, json=new_task).json()
const axios = require('axios');

const API_KEY = 'ws24_live_your_key_here';
const BASE_URL = 'https://ws24.dev/api/v1';

const headers = {
  'X-API-Key': API_KEY,
  'Content-Type': 'application/json',
};

async function getTasks() {
  const { data } = await axios.get(`${BASE_URL}/tasks`, { headers });
  console.log(data);
}

async function createTask() {
  const { data } = await axios.post(`${BASE_URL}/tasks`, {
    title: 'New project',
    description: 'Project description',
  }, { headers });
  console.log(data);
}
#!/bin/bash

API_KEY="ws24_live_your_key_here"
BASE_URL="https://ws24.dev/api/v1"

# List tasks
curl -H "X-API-Key: $API_KEY" "$BASE_URL/tasks"

# Create a task
curl -X POST \
  -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "New project",
    "description": "Project description"
  }' \
  "$BASE_URL/tasks"
[07] Support & Changelog

Stuck or hitting a wall? Reach the team.

Email is fastest for integration questions; the dashboard ticket form is best for billing/scope work.

Support

Email [email protected] — typically < 4h response.

For scope/billing: open a ticket from your dashboard.

Changelog · v1.1 (Nov 2026)

  • Task responses carry only client fields: no assigned specialist, rates or tracking data
  • PUT edits title, description, category, priority, store URL and deadline; status answers 400, cost fields are ignored
  • Comments are always plain comments; a closed task answers 409
  • Invalid deadlines and titles over 255 characters answer 400; validation errors carry a message too; sorting by created_at and updated_at fixed
  • Rate limits shared across servers, per-IP and failed-key limits, Retry-After header
  • Expired keys answer 401, blocked accounts 403; a new key needs your password or a recent sign-in
  • New tasks and comments send the usual notifications
  • The API follows the web ticket rules: only client accounts create tasks; a closed task cannot be edited (403)

Changelog · v1.0 (Nov 2025)

  • Initial API release
  • Tasks endpoints (list, get, create, update)
  • Comment / update endpoint
  • API-key authentication
  • Rate limiting (500 req/min)