---
title: Destination
slug: data-platform/connect-platform/app-sdk-api-reference-classes-destination
docTags: 
createdAt: 2026-08-05T20:06:37.104Z
---

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / Destination

# Class: `abstract` Destination\<T>

Defined in: [src/app/Destination.ts:39](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/Destination.ts#L39)

## Type Parameters

### T

`T`

## Constructors

### Constructor

:::BlockQuote
**new Destination**\<`T`>(): `Destination`\<`T`>
:::

### Returns

`Destination`\<`T`>

## Methods

### deliver()

:::BlockQuote
`abstract` **deliver**(`batch`): `Promise`\<[`` `DestinationDeliverResult` ``](docId\:QrSEA5TDfWCXF5TfxvWWX)>
:::

Defined in: [src/app/Destination.ts:56](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/Destination.ts#L56)

Delivers the given batch to i.e. an external system.

### Parameters

### batch

[`` `DestinationBatch` ``](docId\:dDtkzSOuD_8nG7vxmgHWP)\<`T`>

The batch to be delivered

### Returns

`Promise`\<[`` `DestinationDeliverResult` ``](docId\:QrSEA5TDfWCXF5TfxvWWX)>

A DestinationDeliverResult with success/failure,
if the batch should be retried and a failure reason if applicable.

***

### ready()

:::BlockQuote
`abstract` **ready**(): `Promise`\<[`` `DestinationReadyResult` ``](docId\:ScLs-XVfCkj3eniLqcY0l)>
:::

Defined in: [src/app/Destination.ts:48](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/Destination.ts#L48)

Checks if the Destination ready to use.
This should ensure that any required credentials and/or other configuration exist and are valid.
Reasonable caching should be utilized to prevent excessive requests to external resources.

### Returns

`Promise`\<[`` `DestinationReadyResult` ``](docId\:ScLs-XVfCkj3eniLqcY0l)>

true if the destination ready to use

### Async
