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

# Get email validation credit usage

> Get the current email validation credit balance for the project attached to your secret API key.



## OpenAPI

````yaml openapi.json GET /v1/verification-credits
openapi: 3.0.3
info:
  title: MailGlyph API
  description: >-
    Email platform API for transactional emails, campaigns, and marketing
    automation
  version: 1.0.0
  contact:
    name: MailGlyph Support
    url: https://mailglyph.com
servers:
  - url: https://api.mailglyph.com
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Public API
    description: Public API endpoints for sending emails and tracking events
  - name: Events
    description: Event ingestion and querying
  - name: Contacts
    description: Contact management operations
  - name: Templates
    description: Email template management
  - name: Campaigns
    description: Email campaign management
  - name: Segments
    description: Audience segmentation
  - name: Workflows
    description: Workflow automation
paths:
  /v1/verification-credits:
    get:
      tags:
        - Public API
      summary: Get email validation credit usage
      description: >-
        Returns the current email validation credit balance for the project
        attached to the secret API key.
      operationId: getPublicVerificationCredits
      responses:
        '200':
          description: Current project email validation credit balance
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    description: Always true for successful requests.
                  data:
                    $ref: '#/components/schemas/VerificationCreditPublicSummary'
                    description: >-
                      Current public credit balance summary for the API key
                      project.
              examples:
                usage:
                  summary: Credit usage summary
                  value:
                    success: true
                    data:
                      balance: 4820
                      lowCredits: false
        '401':
          description: Invalid or missing secret API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    VerificationCreditPublicSummary:
      type: object
      required:
        - balance
        - lowCredits
      properties:
        balance:
          type: integer
          minimum: 0
          description: Current email validation credit balance for this project.
          example: 4820
        lowCredits:
          type: boolean
          description: Whether the current balance is low enough to require attention.
          example: false
    Error:
      type: object
      properties:
        code:
          type: integer
        error:
          type: string
        message:
          type: string
        time:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API Key authentication. **Secret keys (sk_*)** are required for all
        endpoints except `/v1/track`. **Public keys (pk_*)** only work with the
        `/v1/track` endpoint for client-side event tracking. Workspaces can have
        multiple active keys, and sender-domain operations enforce per-key
        domain scope when configured.

````

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