> ## 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.

# StartOAuthCompanyEmailCommandResponse

> Begins establishing an OAuth connection and returns the address to be opened in the browser. The sign-in has to be completed before the returned expiry. In GraphQL, the error code arrives in 'extensions.code': VALIDATION_FAILED (the request is invalid, for example an empty provider ID), COMPANY_NOT_FOUND, COMPANY_INACTIVE, COMPANY_EMAIL_ALREADY_AUTHORIZED (remove the authorization first), OAUTH_PROVIDER_NOT_FOUND. - Response



**Kind**: `object`

## Fields

**`authorizationUrl`**: `String!`

The URL to be opened in the browser to sign in at the OAuth provider.

---

**`state`**: `String!`

The value that ties the sign-in to its completion; the provider returns it in the redirect.

---

**`expiresAt`**: `DateTime!`

Until when the sign-in can be completed.

