Currently, the AddProjectTask API method returns a success message when a task is created, but it does not include the ID (taskid) of the newly created task in the response.
This makes it difficult for developers and automation scripts to track or update the task immediately after creation (e.g., to start or stop a timer, add notes, or link to another system).
Proposed enhancement:
Include the taskid of the newly created task in the API response, following the same pattern used in other WHMCS APIs (e.g., ticketid, clientid, etc.).
Benefits:
Enables automation workflows to immediately reference the created task.
Increases consistency across WHMCS API endpoints.
Reduces the need for workarounds such as querying all tasks after creation and guessing which one was just added.
Thank you for considering this improvement!
Post the first comment
Login to post a comment.