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

# Connect Smartadvocate

`POST /smartadvocate/connect`

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/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
