---
title: "Start Authorization"
method: POST
path: "/v1/integrations/xero/authorizations"
tags: ["xero"]
---

# Start Authorization

`POST /v1/integrations/xero/authorizations`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/integrations/xero/authorizations`
- Auth: HTTP bearer

## Request body

- AppIntegrationsXeroRouterAuthorizationStart
  - `redirect_path` string, required
  - `connection_id` string, uuid, nullable
  - `intent` 'standard' | 'add_account' | 'payroll_export'

## Response `201`

Successful Response

- AuthorizationResponse
  - `attempt_id` string, uuid, required
  - `authorization_url` string, required
  - `expires_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
