> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ConnectOAuthCompanyEmailCommandRequestInput

> Completes the OAuth connection with the redirect received from the OAuth provider and uses the address of the connected account as sender. Errors arrive as GraphQL errors with the code in 'extensions.code'. Codes: VALIDATION_FAILED (the request is invalid, for example an empty redirect address), COMPANY_NOT_FOUND, COMPANY_INACTIVE, COMPANY_EMAIL_ALREADY_AUTHORIZED, COMPANY_EMAIL_OAUTH_STATE_INVALID (start the sign-in again), COMPANY_EMAIL_OAUTH_AUTHORIZATION_DENIED, COMPANY_EMAIL_UNABLE_TO_CONNECT, COMPANY_EMAIL_OAUTH_NO_EMAIL_CLAIM. - Request



**Kind**: `input`

## Fields

**`companyId`**: `ID!` (required)

The ID of the company.

---

**`responseUri`**: `String!` (required)

The complete redirect address as received from the OAuth provider, including its query (code and state, or error). At most 4000 characters.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

