SendGrid · Schema

contact-request

EmailEmail APIMarketing EmailSMTPT1Transactional EmailEmail MarketingDeliverabilityMarketing

Properties

Name Type Description
address_line_1 string The first line of the address.
address_line_2 string An optional second line for the address.
alternate_emails array Additional emails associated with the contact.
city string The contact's city.
country string The contact's country. Can be a full name or an abbreviation.
email string The contact's primary email. This is required to be a valid email.
phone_number_id string The contact's Phone Number ID. This must be a valid phone number.
external_id string The contact's External ID.
anonymous_id string The contact's Anonymous ID.
first_name string The contact's personal name.
last_name string The contact's family name.
postal_code string The contact's ZIP code or other postal code.
state_province_region string The contact's state, province, or region.
custom_fields object An object of custom field IDs and the values you want to associate with those custom fields. You can retrieve the IDs of your custom fields from the [Get All Field Definitions endpoint](https://docs.s
View JSON Schema on GitHub

JSON Schema

sendgrid-contact-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-contact-request-schema.json",
  "title": "contact-request",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-contacts-api-openapi.yml#/components/schemas/ContactRequest",
  "type": "object",
  "properties": {
    "address_line_1": {
      "type": "string",
      "description": "The first line of the address.",
      "maxLength": 100
    },
    "address_line_2": {
      "type": "string",
      "description": "An optional second line for the address.",
      "maxLength": 100
    },
    "alternate_emails": {
      "type": "array",
      "description": "Additional emails associated with the contact.",
      "minItems": 0,
      "maxItems": 5,
      "items": {
        "type": "string",
        "maxLength": 254
      }
    },
    "city": {
      "type": "string",
      "description": "The contact's city.",
      "maxLength": 60
    },
    "country": {
      "type": "string",
      "description": "The contact's country. Can be a full name or an abbreviation.",
      "maxLength": 50
    },
    "email": {
      "type": "string",
      "description": "The contact's primary email. This is required to be a valid email.",
      "maxLength": 254
    },
    "phone_number_id": {
      "type": "string",
      "description": "The contact's Phone Number ID. This must be a valid phone number."
    },
    "external_id": {
      "type": "string",
      "description": "The contact's External ID.",
      "maxLength": 254
    },
    "anonymous_id": {
      "type": "string",
      "description": "The contact's Anonymous ID.",
      "maxLength": 254
    },
    "first_name": {
      "type": "string",
      "description": "The contact's personal name.",
      "maxLength": 50
    },
    "last_name": {
      "type": "string",
      "description": "The contact's family name.",
      "maxLength": 50
    },
    "postal_code": {
      "type": "string",
      "description": "The contact's ZIP code or other postal code."
    },
    "state_province_region": {
      "type": "string",
      "description": "The contact's state, province, or region.",
      "maxLength": 50
    },
    "custom_fields": {
      "type": "object",
      "description": "An object of custom field IDs and the values you want to associate with those custom fields. You can retrieve the IDs of your custom fields from the [Get All Field Definitions endpoint](https://docs.sendgrid.com/api-reference/custom-fields/get-all-field-definitions).",
      "properties": {
        "w1": {
          "type": "string",
          "description": "The properties in this object are made up of a key (the custom field ID) and value you want associated with that custom field. For example `{\"w1\": \"coffee\"}`."
        }
      }
    }
  }
}

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-contact-request"
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.