---
title: "POST /admin/connections"
method: POST
path: "/admin/connections"
tags: ["connections"]
---

# POST /admin/connections

`POST /admin/connections`

Creates connections between your affiliates and customers

## Request body

- object
  - `connections` object[] — List of connections to create
    - `customer` object
      - `name` string — Name of the customer
      - `email` string — Email address of the customer
    - `affiliate` object
      - `affiliate_id` string — ID of the affiliate to connect this customer with
  - `overwrite` boolean — Overwrite the already existing connections

## Response `200`

- object
  - `created` number

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
