---
title: "Start connecting a HubSpot portal"
method: POST
path: "/api/integration/hubspot/authorize-url"
tags: ["User"]
---

# Start connecting a HubSpot portal

`POST /api/integration/hubspot/authorize-url`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/integration/hubspot/authorize-url`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/integration/hubspot/authorize-url/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns the HubSpot authorization URL the organization administrator opens to grant access. Requires integration-hubspot and account-administrator.

## Response `200`

The HubSpot authorization URL.

- HubspotAuthorizationUrlResource
  - `authorization_url` string

## Other responses

- `400`: The connection could not be started.
- `403`: Forbidden - missing the HubSpot integration permissions.

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
