<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INEndWorkoutIntentResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INEndWorkoutIntentResponse"
  },
  "title" : "INEndWorkoutIntentResponse"
}
-->

# INEndWorkoutIntentResponse

Your app’s response to an end workout intent.

```
class INEndWorkoutIntentResponse
```

## Overview

Use an [`INEndWorkoutIntentResponse`](/documentation/Intents/INEndWorkoutIntentResponse) object to specify whether your app is able to end a workout. The response object contains only the status code that indicates whether to launch your app or whether there was a problem.

You create an [`INEndWorkoutIntentResponse`](/documentation/Intents/INEndWorkoutIntentResponse) object in the [`handle(intent:completion:)`](/documentation/Intents/INEndWorkoutIntentHandling/handle(intent:completion:)) and [`confirm(intent:completion:)`](/documentation/Intents/INEndWorkoutIntentHandling/confirm(intent:completion:)) methods of your end workout handler object. For more information about implementing your handler object, see [`INEndWorkoutIntentHandling`](/documentation/Intents/INEndWorkoutIntentHandling).

## Topics

### Initializing the Response Object

[`init(code:userActivity:)`](/documentation/Intents/INEndWorkoutIntentResponse/init(code:userActivity:))

Initializes the response object with the specified code and user activity object.

### Getting the Response Code

[`code`](/documentation/Intents/INEndWorkoutIntentResponse/code)

The code that indicates whether you successfully handled the intent.

[`INEndWorkoutIntentResponseCode`](/documentation/Intents/INEndWorkoutIntentResponseCode)

Constants that indicate the response state.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)