---
title: "Create a GitHub folder or signed HTTP import source"
method: POST
path: "/imports"
---

# Create a GitHub folder or signed HTTP import source

`POST /imports`

## Request

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

## Request body

- CreateConnectorSource
  - `displayName` string, required
  - `workspaceId` string
  - `provider` 'github' | 'http', required
  - `config` union, required
    - object
      - `owner` string, required
      - `repository` string, required
      - `branch` string
      - `path` string
    - object
      - `secretEnv` string, required: Runtime environment key containing the HMAC secret. The secret value is never stored in source metadata.

## Response `201`

Created import source

## 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)
