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

# Get current plan

> Get the current subscription plan for the API key's team, including tier, billing interval, and period dates.



## OpenAPI

````yaml /openapi.json get /v1/plan
openapi: 3.0.3
info:
  title: Zavu Unified Messaging Layer API
  version: 0.2.0
  description: >
    Unified multi-channel messaging API for Zavu.


    Supported channels:

    - **SMS**: Simple text messages

    - **WhatsApp**: Rich messaging with media, buttons, lists, CTA URL buttons,
    and templates

    - **Telegram**: Bot messaging with text, media, and interactive elements

    - **Email**: Transactional emails via Amazon SES


    Design goals:

    - Simple `send()` entrypoint for developers

    - Project-level authentication via Bearer token

    - Support for all WhatsApp message types (text, image, video, audio,
    document, sticker, location, contact, buttons, list, cta_url, reaction,
    template)

    - If a non-text message type is sent, WhatsApp channel is used automatically

    - 24-hour WhatsApp conversation window enforcement

    - Universal `to` field accepts phone numbers (E.164), email addresses, or
    numeric chat IDs (Telegram/Instagram)
servers:
  - url: https://api.zavu.dev
security:
  - bearerAuth: []
paths:
  /v1/plan:
    get:
      tags:
        - Plan
      summary: Get current plan
      description: >-
        Get the current subscription plan for the API key's team, including
        tier, billing interval, and period dates.
      operationId: getPlan
      responses:
        '200':
          description: Plan details.
          content:
            application/json:
              schema:
                type: object
                required:
                  - tier
                  - billingInterval
                  - status
                properties:
                  tier:
                    type: string
                    enum:
                      - free
                      - pro
                      - scale
                      - enterprise
                    description: Current subscription tier.
                  billingInterval:
                    type: string
                    enum:
                      - monthly
                      - annual
                  status:
                    type: string
                    enum:
                      - active
                      - past_due
                      - canceled
                      - trialing
                  currentPeriodStart:
                    type: string
                    format: date-time
                  currentPeriodEnd:
                    type: string
                    format: date-time
                  cancelAtPeriodEnd:
                    type: boolean
                  limits:
                    type: object
                    properties:
                      messagesA2P:
                        type: integer
                        description: Monthly A2P message limit.
                      emails:
                        type: integer
                        description: Monthly email limit.
                      senders:
                        type: integer
                      phoneNumbers:
                        type: integer
                      wabaConnections:
                        type: integer
                      broadcasts:
                        type: boolean
                      subAccounts:
                        type: boolean
              example:
                tier: pro
                billingInterval: monthly
                status: active
                currentPeriodStart: '2026-03-01T00:00:00Z'
                currentPeriodEnd: '2026-04-01T00:00:00Z'
                cancelAtPeriodEnd: false
                limits:
                  messagesA2P: 100000
                  emails: 100000
                  senders: 3
                  phoneNumbers: 3
                  wabaConnections: 3
                  broadcasts: true
                  subAccounts: false
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: invalid_request
        message:
          type: string
          example: Phone number is invalid
        details:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````