Verify Task Completion Endpoint
This endpoint will check if the user has completed the specified task.
- Parameters:
task_id
: The ID of the task to validatetelegram_id
: The ID of the user who performed the taskads_user_id
: The unique identifier of the ads user (passed as a header)
- Returns:
dict
: A dictionary containing ‘completed’ (bool) and ‘action_info’ (str) if the task was completed
- Raises:
HTTPException(404)
: If the specified task is not foundHTTPException(500)
: If an unexpected error occurs during task validation