---
title: INAddTasksIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/inaddtasksintentresponse
---

# INAddTasksIntentResponse

Your response to a request to add tasks to a task list.

## Declaration

```swift
class INAddTasksIntentResponse
```

## Overview

Overview Use an INAddTasksIntentResponse object to return information about the task list that you created. Siri communicates the information from your response to the user at appropriate times. You create an INAddTasksIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INAddTasksIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/inaddtasksintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/inaddtasksintentresponse/code.md)
- [INAddTasksIntentResponseCode](intents/inaddtasksintentresponsecode.md)

### Providing the Task Information

- [addedTasks](intents/inaddtasksintentresponse/addedtasks.md)
- [modifiedTaskList](intents/inaddtasksintentresponse/modifiedtasklist.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Task Addition

- [INAddTasksIntentHandling](intents/inaddtasksintenthandling.md)
- [INAddTasksIntent](intents/inaddtasksintent.md)
