---
title: "Create destination"
method: POST
path: "/destinations/aws_rds_pgsql"
tags: ["destinations.aws_rds_pgsql"]
---

# Create destination

`POST /destinations/aws_rds_pgsql`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/destinations/aws_rds_pgsql`
- Auth: none declared

## Request body

- PostDestinationAwsRdsPgsqlInput
  - `label` string
  - `o_auth_id` string
  - `authorizer_id` string

## Response `200`

Create destination

- AwsRdsPgsqlDestination
  - `descriptors` Descriptor[]
    - `key` 'EMPTY' | 'DATABASE' | 'TABLE' | 'FILE' | 'FORMAT' | 'PATH' | 'WRITE_MODE' | 'SPREADSHEET_ID' | 'SPREADSHEET' | 'SHEET' | 'DATASET' | 'PROJECT' | 'SCHEMA' | 'TOPIC' | 'ACCOUNT' | 'TYPE' | 'REPORT' | 'GRANULARITY' | 'CHANNEL' | 'PROPERTY' | 'BUCKET'
    - `value` string: descriptor value
  - `customer_id` string: The id of the customer (account) the document belongs to.
  - `label` string: Your own textual label for the document. By using labels you can easily identify your documents later.
  - `external_id` string, nullable: The id of the document in external systems. By setting external_id you can link document with external systems id.
  - `is_locked` boolean: You may mark the document as locked to prevent accidental changes. When locked, the document cannot be modified or deleted.
  - `o_auth_id` string
  - `authorizer_id` string
  - `id` string, nullable
  - `description` string
  - `status` boolean
  - `status_detail` string
  - `last_use` string, date-time, nullable
  - `created_at` integer
  - `updated_at` integer
  - `type` string

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
