SendGrid · Schema

Credits of a Subuser

EmailEmail APIMarketing EmailSMTPT1Transactional EmailEmail MarketingDeliverabilityMarketing

Properties

Name Type Description
type string Type determines how credits are reset for a Subuser. `unlimited` indicates that there is no limit to the Subuser's credits. `recurring` indicates that the credits for the Subuser are reset according t
reset_frequency stringnull The frequency with which a Subuser's credits are reset if `type` is set to `recurring`, otherwise `null`.
remain integernull Total number of remaining credits. `remain` is `null` if the reset `type` for the Subuser's credits is set to `unlimited`.
total integernull Total number of allowable credits. `total` is `null` if the reset `type` for the Subuser's credits is set to `unlimited` or `nonrecurring`.
used integernull Total number of used credits. `used` is `null` if the reset `type` for the Subuser's credits is set to `unlimited` or `nonrecurring`.
View JSON Schema on GitHub

JSON Schema

sendgrid-subuser-credits-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-subuser-credits-schema.json",
  "title": "Credits of a Subuser",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-subusers-api-openapi.yml#/components/schemas/SubuserCredits",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Type determines how credits are reset for a Subuser. `unlimited` indicates that there is no limit to the Subuser's credits. `recurring` indicates that the credits for the Subuser are reset according to the frequency determined by `reset_frequency`. `nonrecurring` indicates that there is no recurring schedule to reset credits and resets must be done on an ad hoc basis.",
      "$ref": "#/$defs/Type"
    },
    "reset_frequency": {
      "type": [
        "string",
        "null"
      ],
      "description": "The frequency with which a Subuser's credits are reset if `type` is set to `recurring`, otherwise `null`.",
      "$ref": "#/$defs/ResetFrequency"
    },
    "remain": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Total number of remaining credits. `remain` is `null` if the reset `type` for the Subuser's credits is set to `unlimited`.",
      "minimum": 0
    },
    "total": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Total number of allowable credits. `total` is `null` if the reset `type` for the Subuser's credits is set to `unlimited` or `nonrecurring`.",
      "minimum": 0
    },
    "used": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Total number of used credits. `used` is `null` if the reset `type` for the Subuser's credits is set to `unlimited` or `nonrecurring`.",
      "minimum": 0
    }
  },
  "required": [
    "type",
    "reset_frequency",
    "remain",
    "total",
    "used"
  ],
  "$defs": {
    "ResetFrequency": {
      "type": "string",
      "enum": [
        "monthly",
        "weekly",
        "daily"
      ]
    },
    "Type": {
      "type": "string",
      "enum": [
        "unlimited",
        "recurring",
        "nonrecurring"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sendgrid-subuser-credits"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.