---
title: "Connect Smartadvocate"
method: POST
path: "/smartadvocate/connect"
tags: ["SmartAdvocate"]
---

# Connect Smartadvocate

`POST /smartadvocate/connect`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/smartadvocate/connect`
- Auth: none declared

Connect SmartAdvocate integration for the current customer.

Validates the credentials by attempting to authenticate with SmartAdvocate.
If successful, saves the credentials and bearer token.

## Request body

- SmartAdvocateConnectRequest: Request to connect SmartAdvocate integration
  - `username` string, required
  - `password` string, required
  - `base_url` string, nullable

## Response `200`

Successful Response

- SmartAdvocateStatus: SmartAdvocate connection status
  - `connected` boolean, required
  - `connected_at` string, nullable
  - `token_expires_at` string, nullable
  - `base_url` string, nullable

## Other responses

- `422`: Validation Error

---

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