---
title: "Create a GitHub or signed HTTP export destination"
method: POST
path: "/connectors"
---

# Create a GitHub or signed HTTP export destination

`POST /connectors`

## Request

- Base URL: `https://handover.sh/api/v1`
- URL: `https://handover.sh/api/v1/connectors`
- Auth: HTTP bearer

## Request body

- CreateConnectorDestination
  - `displayName` string, required
  - `workspaceId` string
  - `provider` 'github' | 'http', required
  - `config` union, required
    - object
      - `owner` string, required
      - `repository` string, required
      - `branch` string
      - `basePath` string
    - object
      - `url` string, uri, required: HTTPS receiver endpoint.
      - `secretEnv` string, required: Runtime environment key containing the HMAC secret. The secret value is never stored in destination metadata.

## Response `201`

Created destination

## Other responses

- `403`: Request error

---

[API](https://skmtc.dev/handover/apis/handover-api.md) · [All operations](https://skmtc.dev/handover/apis/handover-api/llms.txt) · [OpenAPI document](https://skmtc.dev/handover/apis/handover-api/revisions/846b2a3091df?raw)
