---
title: "One-click sync return with the state as a query parameter"
method: GET
path: "/connect/dc/return"
tags: ["Connections"]
---

# One-click sync return with the state as a query parameter

`GET /connect/dc/return`

## Request

- Base URL: `https://api.customdomain.ai/v1`
- URL: `https://api.customdomain.ai/v1/connect/dc/return`
- Auth: none required

The same return as `/connect/dc/return/{state}`, for a provider that hands the signed state back as `?state=`.

## Query parameters

- `state` string, required
- `error` string
- `error_description` string

## Response `200`

HTML finish page (postMessages the outcome to the vetted return origin)

## Other responses

- `400`: Invalid, expired, replayed, or wrong-rail state
- `503`: The return is not configured on this server

---

[API](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api.md) · [All operations](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/revisions/34d89cb7a7cd?raw)
