---
title: "Confirm or retract a service-connection step"
method: POST
path: "/service-connections/confirmations"
tags: ["Connections"]
---

# Confirm or retract a service-connection step

`POST /service-connections/confirmations`

## Request

- Base URL: `https://api.app.lastaccountingcompany.com/portal`
- URL: `https://api.app.lastaccountingcompany.com/portal/service-connections/confirmations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/docs/service-connections/confirmations/post.ts> (a function with typed inputs; its response is checked against the schema)

Confirms (or retracts, via `action: retract`) a pending step in a service-connection setup. Accepted asynchronously. Requires a write-scoped key.

## Request body

- object
  - `customer_id` string: Target company. Optional for API keys.
  - `connection_key` string, required: Which service connection the confirmation concerns.
  - `confirmation_type` string, required: The step being confirmed.
  - `note` string
  - `action` 'confirm' | 'retract'

## Response `202`

Confirmation accepted.

- ServiceConnectionAccepted: Acknowledgement of a service-connection request or confirmation.
  - `connection` object
  - `connections` object[]
  - `event_id` string

## Other responses

- `401`: Missing or invalid bearer token.
- `403`: Insufficient scope or role — e.g. a read-scoped key on a mutating method, or an API key on an admin/approver-only endpoint.

---

[API](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api.md) - [All operations](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/revisions/52e277b4f031?raw)
