tasks
Create a task
Creates a task assigned to a staff member. The server assigns the id, timestamps and the creator; status defaults to New and priority to Medium.
The assignee is notified exactly as they would be for a task created in the app. Requests are not idempotent: retrying a successful call creates a second task.
post/tasks
Request
- Base URL: https://api.ritten.io/v1
- URL: https://api.ritten.io/v1/tasks
- Auth: none declared
Request body
Example request
{
"title": "Call the pharmacy",
"assigneeId": "9a5e64b0-0a73-4cb5-ab32-44fea16da4e1",
"priority": "High",
"dueDate": "2024-01-31"
}Response
Task created successfully.
Example response
{
"id": "182c2e54-3494-4b85-aba5-038cf539d5bf",
"title": "Call the pharmacy",
"description": "Confirm the refill went through.",
"assigneeId": "9a5e64b0-0a73-4cb5-ab32-44fea16da4e1",
"dueDate": "2024-01-31",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-02T00:00:00Z",
"statusUpdatedAt": "2024-01-02T00:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.