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

# Get business email admin console link

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns a Google sign-in link for the admin of the business email on `domain`. After signing in, the admin lands on the Google Admin console page where they accept Google's terms of service. Use it when [Get business email status](/api-reference/get-business-email-status) reports the domain as `TOS_SUSPENDED`.

The link names the admin's email address, and the admin signs in with their own Google password.

Only the workspace owner can get the link. A read-only token is refused, and workspace API keys aren't accepted. Limited to 6 requests a minute per caller. Some workspaces have a different limit.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/billing/business-email/admin-console-url
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/billing/business-email/admin-console-url:
    get:
      summary: Get business email admin console link
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Returns a Google sign-in link for the admin of the business email on
        `domain`. After signing in, the admin lands on the Google Admin console
        page where they accept Google's terms of service. Use it when [Get
        business email status](/api-reference/get-business-email-status) reports
        the domain as `TOS_SUSPENDED`.


        The link names the admin's email address, and the admin signs in with
        their own Google password.


        Only the workspace owner can get the link. A read-only token is refused,
        and workspace API keys aren't accepted. Limited to 6 requests a minute
        per caller. Some workspaces have a different limit.
      operationId: get_admin_console_url_api_billing_business_email_admin_console_url_get
      parameters:
        - name: domain
          in: query
          required: true
          schema:
            type: string
            description: >-
              Domain whose business email the link is for, as listed in
              `items[].domain` of Get business email status.
            title: Domain
          description: >-
            Domain whose business email the link is for, as listed in
            `items[].domain` of Get business email status.
          example: acme.com
      responses:
        '200':
          description: A Google sign-in link for the domain's admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAdminLink'
              example:
                url: >-
                  https://accounts.google.com/AccountChooser?Email=admin@acme.com&service=CPanel&continue=https%3A%2F%2Fadmin.google.com%2Fac%2Ftos
        '400':
          description: >-
            This workspace has no billing account for business email, or its
            billing account couldn't be reached. Retry later if the workspace
            has business email.
        '401':
          description: Missing or invalid credentials.
        '403':
          description: You aren't the workspace owner, or your token is read-only.
        '404':
          description: >-
            The workspace has no business email on `domain`, or no Google admin
            was found for it.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
              example:
                detail:
                  - type: missing
                    loc:
                      - query
                      - domain
                    msg: Field required
        '429':
          description: Rate limit reached. Retry later.
      security:
        - PersonalAccessTokenAuth:
            - full_access
components:
  schemas:
    GoogleAdminLink:
      properties:
        url:
          type: string
          title: Url
          description: >-
            Google sign-in link for the domain's Google admin. It names the
            admin's email address, and they sign in with their own Google
            password.
          example: >-
            https://accounts.google.com/AccountChooser?Email=admin@acme.com&service=CPanel&continue=https%3A%2F%2Fadmin.google.com%2Fac%2Ftos
      type: object
      required:
        - url
      title: GoogleAdminLink
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.