# ServiceResponse

Represents the server response for each journey step, delivered via the success callback set in [`setResponseHandler()`](/sdk-ref/react-native-ts-identity-orchestration/functions#setresponsehandler).

## Properties

### journeyStepId

• `Optional` **journeyStepId**: [`JourneyActionType`](/sdk-ref/react-native-ts-identity-orchestration/enums/journeyactiontype) | `string` | `null`

Identifies the current step type. Contains either a standard [`JourneyActionType`](/sdk-ref/react-native-ts-identity-orchestration/enums/journeyactiontype) value or a custom step ID configured in the journey (e.g., the **Step ID** from a [Login Form](/guides/orchestration/journeys/login_form) or [Collect information](/guides/orchestration/journeys/get_info_from_client) step).

### data

• `Optional` **data**: `{ [key: string]: any }` | `null`

Step-specific data provided by the journey. The schema depends on the step type and is described in each [step guide](/guides/journeys_intro).

### errorData

• `Optional` **errorData**: `SDKError` | `null`

Error details if the step encountered an issue.

### clientResponseOptions

• `Optional` **clientResponseOptions**: `{ [key: string]: ClientResponseOption }`

Available response options for this step. These represent possible replies that the client can provide and affect which branch is taken when the step completes. See [submitClientResponse()](/sdk-ref/react-native-ts-identity-orchestration/functions#submitclientresponse) for usage.

### token

• `Optional` **token**: `string` | `null`

JWT token returned upon journey completion. Available when `journeyStepId` is `success`.