Create Topic
Task Projects API — Create Topic
Overview
Creates a new topic in Task Projects.
Environment:
https://sea-staging-h1.ekoapp.comEndpoint:
POST /api/v1/task-projects/topicsAuth: Bearer JWT
Content-Type:
application/json
Request
Headers
Content-Type
Yes
application/json
Authorization
Yes
Bearer <JWT>
Body (JSON)
taskTitle
string
Yes
Topic title (UTF-8; supports Thai).
taskDescription
string
No
Detailed description/goal (UTF-8).
priority
integer
No
Priority (e.g., 1=High, 2=Medium, 3=Low).
dueDate
string (ISO 8601)
No
Due date/time in UTC, e.g. 2025-12-31T23:59:59Z.
labelIds
array<string>
No
Labels to tag the topic.
attachments
array<Attachment>
No
Files/links to attach (see below).
Example request
Responses
201 Created
Error responses (typical)
400 Bad Request
Invalid payload
Wrong types/missing fields.
401 Unauthorized
Invalid/missing token
Check Authorization.
403 Forbidden
Insufficient scope
Requires write access.
404 Not Found
Related resource missing
e.g., unknown labelIds.
422 Unprocessable Entity
Validation error
Field-level details.
429 Too Many Requests
Rate limited
Respect Retry-After.
5xx
Server error
Retry with backoff.
cURL example
Last updated