---
title: "Connect InboxKit"
method: POST
path: "/mailboxes/inboxkit/connect/"
tags: ["senders"]
---

# Connect InboxKit

`POST /mailboxes/inboxkit/connect/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/mailboxes/inboxkit/connect/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Stores the API key scoped to one workspace the key can act on.

## Request body

- InboxkitConnectSchema
  - `api_key` string, required
  - `workspace_id` string, required

## Response `200`

Successful Response

- InboxkitConnectionReadSchema
  - `auto_disconnect_enabled` boolean, required
  - `auto_import_enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `workspace_id` string, required
  - `workspace_name` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: InboxKit rejected the API key.
- `500`: Internal server error.
- `502`: InboxKit could not be reached.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
