---
title: "Create Destination"
method: POST
path: "/destinations"
---

# Create Destination

`POST /destinations`

Create a new destination

## Request body

- DestinationCreate — The input for creating a Destination
  - `name` string, required — The destination's name
  - `slug` string, required — The destination's slug
  - `type` string, required — The destination's type (e.g. salesforce or hubspot).
  - `configuration` object, required — The destination's configuration. This specifies general metadata about destination, like hostname and username. Hightouch will be using this configuration to connect to destination. The schema depends on the destination type. Consumers should NOT make assumptions on the contents of the configuration. It may change as Hightouch updates its internal code.

## Response `200`

Ok

- union
  - Destination — The service receiving your data (e.g. Salesforce, Hubspot, Customer.io, or a SFTP server)
    - `id` number, double, required — The destination's id
    - `name` string, required — The destination's name
    - `slug` string, required — The destination's slug
    - `workspaceId` number, double, required — The id of the workspace that the destination belongs to
    - `createdAt` string, date-time, required — The timestamp when the destination was created
    - `updatedAt` string, date-time, required — The timestamp when the destination was last updated
    - `type` string, required — The destination's type (e.g. salesforce or hubspot).
    - `configuration` object, required — The destination's configuration. This specifies general metadata about destination, like hostname and username. Hightouch will be using this configuration to connect to destination. The schema depends on the destination type. Consumers should NOT make assumptions on the contents of the configuration. It may change as Hightouch updates its internal code.
    - `syncs` number[], required — A list of syncs that sync to this destination.
  - ValidateErrorJSON
    - `message` 'Validation failed', required
    - `details` object, required
  - 'Internal Server Error'

## Other responses

- `401` — Unauthorized
- `409` — Conflict
- `422` — Validation Failed
- `500` — Something went wrong

---

[API](https://skmtc.net/hightouch/apis/hightouch-api.md) · [All operations](https://skmtc.net/hightouch/apis/hightouch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hightouch/hightouch-api/revisions/24a8012aa8c8/schema)
