Input objects
StartOAuthCompanyEmailCommandRequestInput
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. - Request
input
StartOAuthCompanyEmailCommandRequestInputFields
companyId
ID!
required
The ID of the company.
oAuthProviderId
String!
required
The ID of the OAuth provider (see "QueryCompanyEmailOAuthProviders").
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.
Was this page helpful?