---
title: "Connect Hubspot Oauth"
method: POST
path: "/lead-connections/hubspot/oauth"
tags: ["leads"]
---

# Connect Hubspot Oauth

`POST /lead-connections/hubspot/oauth`

## Request

- Base URL: `https://api.meetadmiral.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.meetadmiral.com/lead-connections/hubspot/oauth`
- Auth: none declared

## Request body

- HubSpotOAuthConnect
  - `account_id` string, uuid, required
  - `owner_user_id` string, uuid, required
  - `export_new_leads` boolean
  - `client_id` string, password, required
  - `client_secret` string, password, required
  - `refresh_token` string, password, required
  - `currency` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meetadmiral/apis/admiral-api.md) · [All operations](https://skmtc.dev/meetadmiral/apis/admiral-api/llms.txt) · [OpenAPI document](https://skmtc.dev/meetadmiral/apis/admiral-api/revisions/3cf1ee58ce50?raw)
