---
title: "Create a signed connect ticket"
method: POST
path: "/v1/connect/tickets"
tags: ["connect"]
---

# Create a signed connect ticket

`POST /v1/connect/tickets`

## Request

- Base URL: `https://api.runx.ai`
- URL: `https://api.runx.ai/v1/connect/tickets`
- Auth: HTTP bearer

## Request body

- CreateConnectTicketRequest
  - `provider` string, required
  - `scopes` string[]
  - `scope_family` string
  - `authority_kind` 'read_only' | 'constructive' | 'destructive'
  - `target_repo` string
  - `target_locator` string
  - `return_to` string, uri, required

## Response `200`

Created connect ticket.

- ConnectTicketEnvelope
  - `status` 'success', required
  - `connect` object, required

## Other responses

- `400`: Validation error.
- `401`: Unauthorized.

---

[API](https://skmtc.dev/runx/apis/runx-hosted-api.md) · [All operations](https://skmtc.dev/runx/apis/runx-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/runx/apis/runx-hosted-api/revisions/6c940d8edacc?raw)
